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

Side by Side Diff: LayoutTests/fast/frames/seamless/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 iframe.seamless is true
7 PASS window.getComputedStyle(iframe.contentDocument.body).backgroundColor is "rg b(0, 128, 0)"
8 PASS window.getComputedStyle(iframe.contentDocument.body).backgroundColor is "rg b(0, 128, 0)"
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12 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.)
13
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/seamless/media-query-basing-rem-unit.html ('k') | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698