WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
262696
Align UA Stylesheet by adding default properties of 'semantics' and 'maction' section in mathml.css
https://bugs.webkit.org/show_bug.cgi?id=262696
Summary
Align UA Stylesheet by adding default properties of 'semantics' and 'maction'...
Ahmad Saleem
Reported
2023-10-05 05:33:45 PDT
SSIA. We already have this partially but add two more rules: /* <mrow>-like elements */ semantics > :not(:first-child) { display: none; } maction > :not(:first-child) { display: none; } merror { border: 1px solid red; background-color: lightYellow; } mphantom { visibility: hidden; } ___ We already have last two so it is just re-arranging and adding first two. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-10-05 05:35:17 PDT
I will do drive-by fixes and added section comments in this as well to make it easier to do few more follow-up alignments. :-)
Radar WebKit Bug Importer
Comment 2
2023-10-12 05:34:14 PDT
<
rdar://problem/116858835
>
Ahmad Saleem
Comment 3
2023-12-20 19:28:26 PST
C++ Implementation needs to be removed as well beside this change -
https://github.com/WebKit/WebKit/pull/18758
Frédéric Wang (:fredw)
Comment 4
2024-10-10 00:01:16 PDT
(In reply to Ahmad Saleem from
comment #3
)
> C++ Implementation needs to be removed as well beside this change - >
https://github.com/WebKit/WebKit/pull/18758
Maybe this bug can thus be retitled, so that it's about aligning semantics/maction's implementation with MathML Core.
Frédéric Wang (:fredw)
Comment 5
2024-10-10 00:08:51 PDT
From MathML Core, I see maction/semantics are grouping elements here:
https://w3c.github.io/mathml-core/#dfn-grouping-elements
and that they are laid out using the mrow algorithm. So probably we should just use the mrow element/renderer classes and add the corresponding CSS. (We might want to experiment this change under a runtime flag)
Ahmad Saleem
Comment 6
2024-10-10 04:03:44 PDT
(In reply to Frédéric Wang (:fredw) from
comment #5
)
> From MathML Core, I see maction/semantics are grouping elements here: >
https://w3c.github.io/mathml-core/#dfn-grouping-elements
and that they are > laid out using the mrow algorithm. So probably we should just use the mrow > element/renderer classes and add the corresponding CSS. > > (We might want to experiment this change under a runtime flag)
Should I retitle above PR and land it and then when we start implementing, we can add `C++` side behind flag?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug