Bug 199398 - Disallow leading dot for dimension values
Summary: Disallow leading dot for dimension values
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 03:05 PDT by Anne van Kesteren
Modified: 2022-07-01 15:26 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2019-07-02 03:05:24 PDT
In https://github.com/whatwg/html/pull/4747 the dimension value parser is changed to be closer to Chrome and Safari. One thing where Safari is different is that it allows a leading dot. As Chrome, Firefox, and the standard do not, we decided not to change the standard there.

https://bugzilla.mozilla.org/show_bug.cgi?id=1562690 will add some web-platform-tests for this.
Comment 1 Brent Fulgham 2022-07-01 15:26:50 PDT
We appear to pass all of these tests, or at least produce the same output as Chrome and Firefox.

Can you REOPEN this bug if you believe we still have an issue?