Bug 262696 - Align UA Stylesheet by adding default properties of 'semantics' and 'maction' section in mathml.css
Summary: Align UA Stylesheet by adding default properties of 'semantics' and 'maction'...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-05 05:33 PDT by Ahmad Saleem
Modified: 2023-12-20 19:28 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 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!
Comment 1 Ahmad Saleem 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. :-)
Comment 2 Radar WebKit Bug Importer 2023-10-12 05:34:14 PDT
<rdar://problem/116858835>
Comment 3 Ahmad Saleem 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