[Webkit-unassigned] [Bug 189142] New: object-position should not accept 3 values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 20:14:52 PDT 2018


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

            Bug ID: 189142
           Summary: object-position should not accept 3 values
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ericwilligers at chromium.org

https://drafts.csswg.org/css-images-3/#the-object-position
The relevant syntax is

<position> = [
  [ left | center | right ] || [ top | center | bottom ]
|
  [ left | center | right | <length-percentage> ]
  [ top | center | bottom | <length-percentage> ]?
|
  [ [ left | right ] <length-percentage> ] &&
  [ [ top | bottom ] <length-percentage> ]
]

A number of test cases currently fail:
https://wpt.fyi/results/css/css-images/parsing/object-position-invalid.html

e.g. "center left 1px" should not be accepted.

This also applies to <position> in gradients

-- 
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/20180830/d0598121/attachment.html>


More information about the webkit-unassigned mailing list