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

Adjust rules for parsing dimension values #4747

Merged
merged 3 commits into from
Jul 3, 2019

Conversation

annevk
Copy link
Member

@annevk annevk commented Jul 1, 2019

In particular:

(See WHATWG Working Mode: Changes for more details.)


/common-microsyntaxes.html ( diff )

In particular:

* Disallow a leading +. Fixes #4720.
* Allow a leading dot. Fixes #4726.
* Allow a trailing dot (in particular before %). Fixes #4736.
Copy link
Contributor

@bzbarsky bzbarsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@bzbarsky
Copy link
Contributor

bzbarsky commented Jul 1, 2019

@bzbarsky
Copy link
Contributor

bzbarsky commented Jul 1, 2019

@annevk As I said in #4726 (comment) it looks like I had mis-tested Chrome somehow and they do not allow ".5". So maybe we should keep not allowing it, since Safari is the only browser that parses that.

@annevk
Copy link
Member Author

annevk commented Jul 2, 2019

Thanks for noticing that. I dropped that bit from the PR, the eventual commit message should drop the "Allow a leading dot" line.

@annevk
Copy link
Member Author

annevk commented Jul 2, 2019

I filed https://bugs.webkit.org/show_bug.cgi?id=199398 against Safari for the leading dot bug.

@annevk annevk added the interop Implementations are not interoperable with each other label Jul 2, 2019
@bzbarsky
Copy link
Contributor

bzbarsky commented Jul 2, 2019

Thanks, the updated spec text looks great!

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM editorially, will trust @bzbarsky and your tests on substance.

@annevk annevk merged commit 6fff3b5 into master Jul 3, 2019
@annevk annevk deleted the annevk/rules-for-parsing-dimension-values branch July 3, 2019 15:13
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 3, 2019
…te and align better with other browsers. r=mccr8

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

--HG--
extra : moz-landing-system : lando
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 11, 2019
…better with other browsers.

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562690
gecko-commit: 0db6b1468cc36416a86f9a8a70da14f878281929
gecko-integration-branch: central
gecko-reviewers: mccr8
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 11, 2019
…better with other browsers.

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562690
gecko-commit: 0db6b1468cc36416a86f9a8a70da14f878281929
gecko-integration-branch: central
gecko-reviewers: mccr8
natechapin pushed a commit to natechapin/wpt that referenced this pull request Aug 23, 2019
…better with other browsers.

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562690
gecko-commit: 0db6b1468cc36416a86f9a8a70da14f878281929
gecko-integration-branch: central
gecko-reviewers: mccr8
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 4, 2019
…te and align better with other browsers. r=mccr8

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

UltraBlame original commit: 0db6b1468cc36416a86f9a8a70da14f878281929
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 4, 2019
…te and align better with other browsers. r=mccr8

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

UltraBlame original commit: 0db6b1468cc36416a86f9a8a70da14f878281929
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 4, 2019
…te and align better with other browsers. r=mccr8

See whatwg/html#4747 for the spec changes

Differential Revision: https://phabricator.services.mozilla.com/D36643

UltraBlame original commit: 0db6b1468cc36416a86f9a8a70da14f878281929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other
3 participants