esrille / escudo

The Escudo Web Browser
Apache License 2.0
68 stars 13 forks source link

[CSS3-Mediaqueries] Reflow the page in response to changes in the user environment without executing selector matching again. #87

Closed ShikiOkasaka closed 11 years ago

ShikiOkasaka commented 11 years ago

cf. http://www.w3.org/TR/css3-mediaqueries/#media0

Before b2143d62e7cd9f561fe24483f9878a2f05e874b8, selector matching is enforced when the the user environment changes, which is not ideal for the responsive site design.

ShikiOkasaka commented 11 years ago

Step 1: Reflow the page in response to changes in the user environment 0f14942ce8b144e4c646c1f32e8b654dbf7026f3

Note if a media query is specified to a style element which uses media rules internally, related rules are not processed correctly yet. The response while resizing the window is still sluggish.

ShikiOkasaka commented 11 years ago

Step 2: Evaluate MediaQueryLists of ViewCSS even during reflow so as not to overlook user environment changes. 2338da3766dc1971d96e573ec7af80f8ff88a1e4

One of the issues in Step 1, "The response while resizing the window is still sluggish", is now fixed.

ShikiOkasaka commented 11 years ago

Created issue #89 for the 1st problem in Step 1, and close this issue for now.