Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests for "html and body elements fill the viewport" spec change #23

Open
zcorpan opened this issue Jan 8, 2018 · 0 comments
Open

Comments

@zcorpan
Copy link
Member

zcorpan commented Jan 8, 2018

Need to update http://w3c-test.org/quirks-mode/percentage-height-calculation.html

to test for this spec change: c81e2a2

commit c81e2a263fb9f89fdfc55010afe666f1711540b7
Author: Simon Pieters <[email protected]>
Date:   Tue May 3 17:43:01 2016 +0200

    Specify how html and body elements fill the viewport
    
    WebKit, Chromium and Edge implement this quirk. The spec was
    previously using Gecko's approach, but now Gecko wants to copy
    this quirk [1]. I based the spec on Chromium's implementation and
    tested in Chromium and Edge.
    
    The spec is stricter than browsers in that it requires the
    document element to be an html element, and it requires the
    body element to be "the document's body element" (as opposed to
    any body), to be consistent with e.g. 'background-color' on body.
    
    Chromium and Edge are inconsistent in their behavior when html
    and body have different writing modes:
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4149
    
    Other tests:
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4148
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4146
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4142
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4150
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4139
    http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4138
    
    [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1259924#c9

cc @dbaron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant