Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: LayoutTests/fast/css/media-query-basing-rem-unit-expected.txt

Issue 18360007: MediaQueryEvaluator should use default style for evaluating "rem". Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added layout test for seamless iframe Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test for issue 258200:CSS Media Queries are basing "rem" unit on style data.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS window.getComputedStyle(document.body).backgroundColor is "rgb(0, 128, 0)"
7 PASS window.getComputedStyle(document.body).backgroundColor is "rgb(0, 128, 0)"
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11 Resize the window to be larger than #1, but smaller than #2. If the screen turns red, the browser is basing 'rem' units in MQs on style data, which is a spec vi olation. (It should be equal to the initial font size, same as the 'em' unit, to avoid circularity issues.)
12 #1: 50rem (based on style data)
13 #2: 50 * 16px (assumed to be the initial font size)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698