Skip to content

Commit edd4b90

Browse files
committed
Stop using <style scoped> to fix fatal bikeshed error.
The error fixed was: FATAL ERROR: <style scoped> is no longer part of HTML. Ensure your styles can apply document-globally and remove the scoped attribute. In this case, the styles were already written to apply globally, so they only needed to be moved.
1 parent 9dbec3a commit edd4b90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-position/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Link Defaults: css-transforms-1 (property) transform
9191
.lpr thead tr:nth-child(2) {
9292
border-bottom: 2px solid;
9393
}
94+
95+
#abspos-auto ul { list-style-type: none; margin: 0; }
96+
#abspos-auto caption { caption-side: bottom; }
97+
9498
</style>
9599

96100
<h2 id="intro">
@@ -1228,10 +1232,6 @@ The width of absolute or fixed positioned, non-replaced elements</h3>
12281232
</ol>
12291233

12301234
<table class=data id='abspos-auto'>
1231-
<style scoped>
1232-
#abspos-auto ul { list-style-type: none; margin: 0; }
1233-
#abspos-auto caption { caption-side: bottom; }
1234-
</style>
12351235
<caption>
12361236
Summary of rules for <code>dir=ltr</code> in horizontal writing modes
12371237
</caption>

0 commit comments

Comments
 (0)