RESOLVED FIXED 169258
font-style needs a new CSSValue to make CSSRule.cssText work correctly
https://bugs.webkit.org/show_bug.cgi?id=169258
Summary font-style needs a new CSSValue to make CSSRule.cssText work correctly
Myles C. Maxfield
Reported 2017-03-06 21:07:18 PST
A new subclass is necessary to make the "oblique" keyword show up in the cssText.
Attachments
Patch (29.14 KB, patch)
2017-03-23 00:50 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews114 for mac-elcapitan (1.11 MB, application/zip)
2017-03-23 02:04 PDT, Build Bot
no flags
Patch (83.43 KB, patch)
2017-03-23 15:31 PDT, Myles C. Maxfield
no flags
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1021.55 KB, application/zip)
2017-03-23 16:32 PDT, Build Bot
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (993.63 KB, application/zip)
2017-03-23 17:11 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-elcapitan (1.95 MB, application/zip)
2017-03-23 17:14 PDT, Build Bot
no flags
WIP (85.94 KB, patch)
2017-03-23 17:33 PDT, Myles C. Maxfield
no flags
Patch (87.26 KB, patch)
2017-03-23 23:02 PDT, Myles C. Maxfield
hyatt: review+
Myles C. Maxfield
Comment 1 2017-03-07 17:17:26 PST
Also because "oblique" and "italic" probably should result in different variation axes being used.
Myles C. Maxfield
Comment 2 2017-03-07 17:21:37 PST
Myles C. Maxfield
Comment 3 2017-03-23 00:50:24 PDT
Build Bot
Comment 4 2017-03-23 02:04:38 PDT
Comment on attachment 305174 [details] Patch Attachment 305174 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/3393453 Number of test failures exceeded the failure limit.
Build Bot
Comment 5 2017-03-23 02:04:40 PDT
Created attachment 305178 [details] Archive of layout-test-results from ews114 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 6 2017-03-23 15:31:18 PDT
Build Bot
Comment 7 2017-03-23 16:32:30 PDT
Comment on attachment 305230 [details] Patch Attachment 305230 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/3398371 New failing tests: editing/execCommand/italicizeByCharacter.html editing/execCommand/format-block-contenteditable-false.html editing/execCommand/toggle-link-win.html editing/execCommand/toggle-compound-styles.html editing/style/toggle-style-bold-italic-mixed-editability.html editing/execCommand/toggle-link-mac.html fast/events/before-input-prevent-biu.html editing/style/toggle-style-bold-italic.html editing/execCommand/toggle-unlink-mac.html editing/execCommand/toggle-style-3.html editing/apply-style-iframe-crash.html editing/style/typing-style-003.html editing/style/push-down-inline-styles.html editing/style/push-down-implicit-styles-around-list-mac.html editing/style/style-3681552-fix-002.html editing/style/remove-styled-element-with-style-span.html editing/style/push-down-implicit-styles-around-list-win.html editing/style/inline-style-extend-run.html editing/style/style-text-node-without-editable-parent.html
Build Bot
Comment 8 2017-03-23 16:32:34 PDT
Created attachment 305240 [details] Archive of layout-test-results from ews106 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 9 2017-03-23 17:11:38 PDT
Comment on attachment 305230 [details] Patch Attachment 305230 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/3398606 New failing tests: editing/execCommand/italicizeByCharacter.html editing/execCommand/format-block-contenteditable-false.html editing/execCommand/toggle-compound-styles.html editing/style/toggle-style-bold-italic-mixed-editability.html editing/style/inline-style-extend-run.html editing/execCommand/toggle-link-win.html editing/style/toggle-style-bold-italic.html editing/style/style-3681552-fix-002.html editing/execCommand/toggle-style-3.html editing/apply-style-iframe-crash.html editing/style/typing-style-003.html editing/style/push-down-inline-styles.html editing/style/remove-styled-element-with-style-span.html
Build Bot
Comment 10 2017-03-23 17:11:40 PDT
Created attachment 305247 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 11 2017-03-23 17:14:48 PDT
Comment on attachment 305230 [details] Patch Attachment 305230 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/3398743 New failing tests: editing/execCommand/italicizeByCharacter.html editing/execCommand/format-block-contenteditable-false.html fast/events/before-input-prevent-biu.html editing/style/toggle-style-bold-italic-mixed-editability.html editing/execCommand/toggle-link-mac.html editing/execCommand/toggle-link-win.html editing/style/typing-style-003.html editing/execCommand/toggle-unlink-mac.html editing/execCommand/toggle-style-3.html editing/apply-style-iframe-crash.html editing/style/toggle-style-bold-italic.html editing/style/push-down-inline-styles.html editing/style/remove-styled-element-with-style-span.html editing/style/push-down-implicit-styles-around-list-mac.html editing/style/style-3681552-fix-002.html editing/execCommand/toggle-compound-styles.html editing/style/push-down-implicit-styles-around-list-win.html editing/style/inline-style-extend-run.html editing/style/style-text-node-without-editable-parent.html
Build Bot
Comment 12 2017-03-23 17:14:51 PDT
Created attachment 305248 [details] Archive of layout-test-results from ews114 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Myles C. Maxfield
Comment 13 2017-03-23 17:33:01 PDT
Myles C. Maxfield
Comment 14 2017-03-23 23:02:24 PDT
Dave Hyatt
Comment 15 2017-03-24 10:59:59 PDT
Comment on attachment 305268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305268&action=review r=me > Source/WebCore/css/CSSFontStyleValue.h:30 > +#include "FontSelectionAlgorithm.h" Don't think you need this include, right? > Source/WebCore/css/CSSFontValue.cpp:48 > - if (weight) { > + if (stretch) { Hah!
Myles C. Maxfield
Comment 16 2017-03-24 11:23:01 PDT
Comment on attachment 305268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=305268&action=review >> Source/WebCore/css/CSSFontStyleValue.h:30 >> +#include "FontSelectionAlgorithm.h" > > Don't think you need this include, right? It's needed for italicValue()
Myles C. Maxfield
Comment 17 2017-03-24 11:23:58 PDT
Note You need to log in before you can comment on or make changes to this bug.