[Webkit-unassigned] [Bug 172801] New: Replace hardcoded <hr> rendering rules with 'overflow: hidden' UA style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 1 04:17:58 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172801

            Bug ID: 172801
           Summary: Replace hardcoded <hr> rendering rules with 'overflow:
                    hidden' UA style
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zcorpan at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

https://github.com/whatwg/html/issues/2715
https://github.com/whatwg/html/pull/2724
https://github.com/w3c/web-platform-tests/pull/6115

The hardcoded rendering rules for <hr> should be removed in favor of having 'overflow: hidden' in the UA stylesheet, which matches EdgeHTML. See https://github.com/whatwg/html/issues/2715#issuecomment-304881067 for rationale.

Failing tests in Safari 10.0 per https://github.com/w3c/web-platform-tests/pull/6115#issuecomment-305211101 :

/html/rendering/non-replaced-elements/the-hr-element-0/hr.html
color   FAIL    assert_equals: expected "rgb(128, 128, 128)" but got "rgb(0, 0, 0)"
overflow        FAIL    assert_equals: expected "hidden" but got "visible"

/html/rendering/non-replaced-elements/the-hr-element-0/setting-overflow-visible.html
control FAIL    assert_equals: hr.clientHeight expected 50 but got 0
overflow: visible       FAIL    assert_equals: hr.offsetLeft expected 0 but got 50

In Safari TP this test also fails in addition to the above:

/html/rendering/non-replaced-elements/the-hr-element-0/hr.html
Fail    unicodeBidi     assert_equals: expected "isolate" but got "normal"


(The failure for 'color' is discussed in https://github.com/whatwg/html/issues/2727 and can be ignored for this issue.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170601/feac3d98/attachment-0001.html>


More information about the webkit-unassigned mailing list