Bug 171761 - Unprefix unicode-bidi CSS values
Summary: Unprefix unicode-bidi CSS values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-05 17:44 PDT by Myles C. Maxfield
Modified: 2017-05-08 10:33 PDT (History)
7 users (show)

See Also:


Attachments
Patch (479.60 KB, patch)
2017-05-05 17:46 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff
Patch (487.20 KB, patch)
2017-05-06 10:41 PDT, Myles C. Maxfield
simon.fraser: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews102 for mac-elcapitan (974.34 KB, application/zip)
2017-05-06 12:00 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews115 for mac-elcapitan (1.89 MB, application/zip)
2017-05-06 12:03 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 (905.08 KB, application/zip)
2017-05-06 12:05 PDT, Build Bot
no flags Details
Archive of layout-test-results from ews123 for ios-simulator-wk2 (11.50 MB, application/zip)
2017-05-06 12:30 PDT, Build Bot
no flags Details
Patch for committing (501.04 KB, patch)
2017-05-07 22:25 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2017-05-05 17:44:16 PDT
Unprefix unicode-bidi CSS values
Comment 1 Myles C. Maxfield 2017-05-05 17:46:07 PDT
Created attachment 309250 [details]
Patch
Comment 2 Simon Fraser (smfr) 2017-05-05 18:14:17 PDT
Comment on attachment 309250 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=309250&action=review

> Source/WebCore/css/CSSProperties.json:3510
> +                "isolate",
> +                "isolate-override",
> +                "plaintext",
>                  {
>                      "value": "-webkit-isolate",
>                      "status": "experimental",

Can you fix the JSON to be like:

                {
                    "value": "isolate",
                    "url": "https://www.w3.org/TR/css-writing-modes-3/#valdef-unicode-bidi-isolate"
                },
                {
                    "value": "-webkit-isolate",
                    "status": "deprecated"
                },
etc?

> Source/WebCore/css/parser/CSSParserFastPaths.cpp:659
> +            || valueID == CSSValueBidiOverride || valueID == CSSValueIsolate
> +            || valueID == CSSValueIsolateOverride || valueID == CSSValuePlaintext
> +            || valueID == CSSValueWebkitIsolate || valueID == CSSValueWebkitIsolateOverride
> +            || valueID == CSSValueWebkitPlaintext;

Could you group the prefixed and unprefixed in pairs please.

> LayoutTests/ChangeLog:9
> +        Import W3C's internationalization tests from
> +        https://www.w3.org/International/tests/repo/results/writing-modes-bidi

I think these should go into LayoutTests/imported/
Comment 3 Myles C. Maxfield 2017-05-06 10:41:49 PDT
Created attachment 309287 [details]
Patch
Comment 4 Simon Fraser (smfr) 2017-05-06 10:47:50 PDT
Comment on attachment 309287 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=309287&action=review

> Source/WebCore/css/CSSProperties.json:3520
>                      "url": "https://www.w3.org/TR/css-writing-modes-3/#valdef-unicode-bidi-isolate"

You can remove the URLs from the deprecated ones.

> Source/WebCore/css/parser/CSSParserFastPaths.cpp:659
> +            || valueID == CSSValueBidiOverride
> +            || valueID == CSSValueIsolate || valueID == CSSValueWebkitIsolate
> +            || valueID == CSSValueIsolateOverride || valueID == CSSValueWebkitIsolateOverride
> +            || valueID == CSSValuePlaintext || valueID == CSSValueWebkitPlaintext;

So much better.
Comment 5 Build Bot 2017-05-06 12:00:51 PDT
Comment on attachment 309287 [details]
Patch

Attachment 309287 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/3688797

New failing tests:
fast/css/unicode-bidi-computed-value.html
fast/css/default-bidi-css-rules.html
Comment 6 Build Bot 2017-05-06 12:00:53 PDT
Created attachment 309289 [details]
Archive of layout-test-results from ews102 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 7 Build Bot 2017-05-06 12:03:46 PDT
Comment on attachment 309287 [details]
Patch

Attachment 309287 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/3688758

New failing tests:
fast/css/unicode-bidi-computed-value.html
fast/css/default-bidi-css-rules.html
Comment 8 Build Bot 2017-05-06 12:03:47 PDT
Created attachment 309290 [details]
Archive of layout-test-results from ews115 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 9 Build Bot 2017-05-06 12:05:09 PDT
Comment on attachment 309287 [details]
Patch

Attachment 309287 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/3688801

New failing tests:
fast/css/unicode-bidi-computed-value.html
fast/css/default-bidi-css-rules.html
Comment 10 Build Bot 2017-05-06 12:05:11 PDT
Created attachment 309291 [details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 11 Build Bot 2017-05-06 12:30:27 PDT
Comment on attachment 309287 [details]
Patch

Attachment 309287 [details] did not pass ios-sim-ews (ios-simulator-wk2):
Output: http://webkit-queues.webkit.org/results/3688818

New failing tests:
imported/w3c/i18n/bidi/block-plaintext-005.html
fast/css/default-bidi-css-rules.html
imported/w3c/i18n/bidi/bidi-plaintext-011.html
fast/css/unicode-bidi-computed-value.html
Comment 12 Build Bot 2017-05-06 12:30:28 PDT
Created attachment 309292 [details]
Archive of layout-test-results from ews123 for ios-simulator-wk2

The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews123  Port: ios-simulator-wk2  Platform: Mac OS X 10.11.6
Comment 13 Myles C. Maxfield 2017-05-07 22:25:20 PDT
Created attachment 309345 [details]
Patch for committing
Comment 14 WebKit Commit Bot 2017-05-08 08:26:44 PDT
Comment on attachment 309345 [details]
Patch for committing

Clearing flags on attachment: 309345

Committed r216418: <http://trac.webkit.org/changeset/216418>