File tree Expand file tree Collapse file tree 2 files changed +0
-50
lines changed Expand file tree Collapse file tree 2 files changed +0
-50
lines changed Original file line number Diff line number Diff line change @@ -1361,31 +1361,6 @@ <h2 id=media-queries><span class=secno>7. </span>Media Queries</h2>
1361
1361
the document as possible to avoid unnecessary re-evaluation of media
1362
1362
queries or reflows.
1363
1363
1364
- < p > The next example illustrates possible circular dependencies between
1365
- media queries and < code class =css > @viewport</ code > rules. Assuming a UA
1366
- stylesheet viewport width larger than 200px, the first viewport rule would
1367
- apply causing an < a href ="#actual-viewport "> actual viewport</ a > width of
1368
- 100px. If the media queries were based on the < a
1369
- href ="#actual-viewport "> actual viewport</ a > , a re-evaluation would apply
1370
- the second < code class =css > @viewport</ code > rule which would in turn cause
1371
- the first media query to be true, which means we're back to start.
1372
-
1373
- < div class =example >
1374
- < pre > <!--
1375
- --> @media screen and (min-width: 200px) {
1376
- <!-- --> @viewport {
1377
- <!-- --> width: 100px;
1378
- <!-- --> }
1379
- <!-- --> }
1380
- <!-- -->
1381
- <!-- --> @media screen and (max-width: 200px) {
1382
- <!-- --> @viewport {
1383
- <!-- --> width: 300px;
1384
- <!-- --> }
1385
- <!-- --> }<!--
1386
- --> </ pre >
1387
- </ div >
1388
-
1389
1364
< h2 id =cssom > < span class =secno > 8. </ span > CSSOM</ h2 >
1390
1365
1391
1366
< p class =issue > Properties in the CSSOM and CSSOM View specifications refer
Original file line number Diff line number Diff line change @@ -1102,31 +1102,6 @@ <h2>Media Queries</h2>
1102
1102
placed as early in the document as possible to avoid unnecessary
1103
1103
re-evaluation of media queries or reflows.</ p >
1104
1104
1105
- < p > The next example illustrates possible circular dependencies between media
1106
- queries and < code class ="css "> @viewport</ code > rules. Assuming a UA
1107
- stylesheet viewport width larger than 200px, the first viewport rule would
1108
- apply causing an < span > actual viewport</ span > width of
1109
- 100px. If the media queries were based on the
1110
- < span > actual viewport</ span > , a re-evaluation would
1111
- apply the second < code class ="css "> @viewport</ code > rule which would
1112
- in turn cause the first media query to be true, which means we're back to
1113
- start.</ p >
1114
-
1115
- < div class ="example ">
1116
- < pre > <!--
1117
- --> @media screen and (min-width: 200px) {
1118
- <!-- --> @viewport {
1119
- <!-- --> width: 100px;
1120
- <!-- --> }
1121
- <!-- --> }
1122
- <!-- -->
1123
- <!-- --> @media screen and (max-width: 200px) {
1124
- <!-- --> @viewport {
1125
- <!-- --> width: 300px;
1126
- <!-- --> }
1127
- <!-- --> }<!--
1128
- --> </ pre >
1129
- </ div >
1130
1105
1131
1106
< h2 > CSSOM</ h2 >
1132
1107
You can’t perform that action at this time.
0 commit comments