RESOLVED FIXED Bug 139403
The display property of many MathML elements can not be overriden by page authors
https://bugs.webkit.org/show_bug.cgi?id=139403
Summary The display property of many MathML elements can not be overriden by page aut...
Frédéric Wang (:fredw)
Reported 2014-12-08 09:16:51 PST
Created attachment 242819 [details] Testcase The display property of many MathML elements can not be overriden by page authors. This is because they have some display: ...flex... !important; property in the mathml.css user agent stylesheet. See the attached testcase. I guess we can not just remove the "!important" rules, as the MathML code assumes that the elements are really flexboxes...
Attachments
Testcase (239 bytes, text/html)
2014-12-08 09:16 PST, Frédéric Wang (:fredw)
no flags
Patch (5.52 KB, patch)
2016-07-06 05:02 PDT, Frédéric Wang (:fredw)
no flags
Patch (5.06 KB, patch)
2016-07-07 15:25 PDT, Frédéric Wang (:fredw)
no flags
Archive of layout-test-results from ews101 for mac-yosemite (1.19 MB, application/zip)
2016-07-07 16:04 PDT, Build Bot
no flags
Archive of layout-test-results from ews113 for mac-yosemite (1.43 MB, application/zip)
2016-07-07 16:25 PDT, Build Bot
no flags
Archive of layout-test-results from ews104 for mac-yosemite-wk2 (1001.79 KB, application/zip)
2016-07-07 16:42 PDT, Build Bot
no flags
Patch (5.08 KB, patch)
2016-07-08 06:27 PDT, Frédéric Wang (:fredw)
buildbot: commit-queue-
Archive of layout-test-results from ews100 for mac-yosemite (888.07 KB, application/zip)
2016-07-08 06:57 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-yosemite-wk2 (902.37 KB, application/zip)
2016-07-08 06:59 PDT, Build Bot
no flags
Archive of layout-test-results from ews113 for mac-yosemite (1.58 MB, application/zip)
2016-07-08 08:08 PDT, Build Bot
no flags
Patch (7.06 KB, patch)
2016-07-08 08:26 PDT, Frédéric Wang (:fredw)
no flags
Patch (4.96 KB, patch)
2016-07-12 09:53 PDT, Frédéric Wang (:fredw)
bfulgham: review+
Frédéric Wang (:fredw)
Comment 1 2016-06-27 23:55:34 PDT
We should consider removing the !important property after bug 153991.
Frédéric Wang (:fredw)
Comment 2 2016-07-06 05:02:30 PDT
Frédéric Wang (:fredw)
Comment 3 2016-07-07 15:25:58 PDT
Build Bot
Comment 4 2016-07-07 16:04:28 PDT
Comment on attachment 283065 [details] Patch Attachment 283065 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1643287 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 5 2016-07-07 16:04:33 PDT
Created attachment 283078 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 6 2016-07-07 16:25:32 PDT
Comment on attachment 283065 [details] Patch Attachment 283065 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1643354 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 7 2016-07-07 16:25:35 PDT
Created attachment 283082 [details] Archive of layout-test-results from ews113 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 8 2016-07-07 16:42:24 PDT
Comment on attachment 283065 [details] Patch Attachment 283065 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1643469 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 9 2016-07-07 16:42:28 PDT
Created attachment 283088 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Frédéric Wang (:fredw)
Comment 10 2016-07-08 06:27:06 PDT
Build Bot
Comment 11 2016-07-08 06:57:10 PDT
Comment on attachment 283145 [details] Patch Attachment 283145 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1646843 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 12 2016-07-08 06:57:14 PDT
Created attachment 283151 [details] Archive of layout-test-results from ews100 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 13 2016-07-08 06:59:40 PDT
Comment on attachment 283145 [details] Patch Attachment 283145 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1646844 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 14 2016-07-08 06:59:43 PDT
Created attachment 283152 [details] Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 15 2016-07-08 08:08:10 PDT
Comment on attachment 283145 [details] Patch Attachment 283145 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1647115 New failing tests: accessibility/roles-computedRoleString.html
Build Bot
Comment 16 2016-07-08 08:08:14 PDT
Created attachment 283162 [details] Archive of layout-test-results from ews113 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-yosemite Platform: Mac OS X 10.10.5
Joanmarie Diggs
Comment 17 2016-07-08 08:23:48 PDT
Ah. Test noise resulting in failures that are not failures. IMHO, this is a case where the right thing to do is to eliminate the noise rather than updating the noise. An example of where this is done for the full test, rather than on an element-by-element basis, can be found here: https://trac.webkit.org/browser/trunk/LayoutTests/accessibility/w3c-svg-roles.html#L180
Frédéric Wang (:fredw)
Comment 18 2016-07-08 08:26:59 PDT
Joanmarie Diggs
Comment 19 2016-07-08 11:06:47 PDT
(In reply to comment #18) > Created attachment 283164 [details] > Patch The accessibility test has been modified to not dump the noise. As a result, there should no longer be a test failure or different expectations needed. https://trac.webkit.org/changeset/202994
Manuel Rego Casasnovas
Comment 20 2016-07-12 06:32:58 PDT
Comment on attachment 283164 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=283164&action=review Nice patch Fred, I also believe we should get rid of that !important rules. Informal r+ here. > LayoutTests/imported/mathml-in-html5/mathml/relations/css-styling/display-1-expected.html:9 > + <div style="background: green; color: red; width: 200px; height: 200px;"> Nit: This is an imported test so I'm fine with it. We should fix the test in the suite, but "color: red" is not needed here. > LayoutTests/imported/mathml-in-html5/mathml/relations/css-styling/display-1.html:12 > + <div style="background: green; color: red; width: 200px; height: 200px;"> Ditto. > Source/WebCore/ChangeLog:7 > + 'display: block'. We remove the !important property so that users can override the display Nit: "!important rule" or "!important keyword" sounds better than "property" to me.
Frédéric Wang (:fredw)
Comment 21 2016-07-12 09:53:14 PDT
Frédéric Wang (:fredw)
Comment 22 2016-07-13 08:28:20 PDT
@Brent: Can you please have a look at the new patch?
Brent Fulgham
Comment 23 2016-07-13 08:56:32 PDT
Comment on attachment 283419 [details] Patch r=me
Frédéric Wang (:fredw)
Comment 24 2016-07-13 09:11:52 PDT
Note You need to log in before you can comment on or make changes to this bug.