-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applying visual effects #162
Comments
I didn't mention it here, but in order to address #130 a section was added saying that basically all MathML elements generate a stacking context: https://mathml-refresh.github.io/mathml-core/#stacking-contexts I'm not sure if these effects are really important for math formulas, but I wouldn't surprised if someone wants to use them (at least opacity) and if they are already supported by webkit or gecko. IIUC, @bfgeek said it's easier to just allow these properties that to disable them. Also I don't know if that's included in this issue, but at least I used linear-gradient on an mrow element some years ago for https://fred-wang.github.io/MathFonts/STIX/index.html and it's working in all browsers. |
Going to experiment... Expectation is that nothing/not much needs to be added to the specification about this, but we need tests for sure. |
For the record, from the MathML Core meeting today: Bottom line is that people generally felt they should work unless there is some reason they shouldn't work such as messing up the implementation. |
So far my experiments showed up no problems. Still need to add a test for opacity I think. |
Based on comment by @rwlbuis at the core meeting today, there don't appear to be any problems with supporting transforms. Some more tests probably need to be added and Rob will check with google about what they think should be tested. |
@chrishtr Several subtests landed here: |
…nt, a=testonly Automatic update from web-platform-tests Test some visual effects on MathML content (#24935) See https://github.com/mathml-refresh/mathml/issues/179. -- wpt-commits: 9b98f401e54a7acf9f2dc889318ee7c5d56c1263 wpt-pr: 24935
…nt, a=testonly Automatic update from web-platform-tests Test some visual effects on MathML content (#24935) See https://github.com/mathml-refresh/mathml/issues/179. -- wpt-commits: 9b98f401e54a7acf9f2dc889318ee7c5d56c1263 wpt-pr: 24935
…nt, a=testonly Automatic update from web-platform-tests Test some visual effects on MathML content (#24935) See https://github.com/mathml-refresh/mathml/issues/179. -- wpt-commits: 9b98f401e54a7acf9f2dc889318ee7c5d56c1263 wpt-pr: 24935 UltraBlame original commit: e906ea5fd219483619deb8b5e9d2e8cf1fa205dd
…nt, a=testonly Automatic update from web-platform-tests Test some visual effects on MathML content (#24935) See https://github.com/mathml-refresh/mathml/issues/179. -- wpt-commits: 9b98f401e54a7acf9f2dc889318ee7c5d56c1263 wpt-pr: 24935 UltraBlame original commit: e906ea5fd219483619deb8b5e9d2e8cf1fa205dd
…nt, a=testonly Automatic update from web-platform-tests Test some visual effects on MathML content (#24935) See https://github.com/mathml-refresh/mathml/issues/179. -- wpt-commits: 9b98f401e54a7acf9f2dc889318ee7c5d56c1263 wpt-pr: 24935 UltraBlame original commit: e906ea5fd219483619deb8b5e9d2e8cf1fa205dd
Should ths issue be moved to mathml-core? |
Yes |
As resolved today in the meeting: We believe the issues referred to in the OP ( containing block and stacking context discussion) were fixed and that many tests have been added since. These visual effects should now just work, but if @chrishtr feels that we still need additional tests, please feel free to reopen. |
Has there been any discussion of what to do when transform, filter, opacity, blend-mode, clip-path, clip, etc are applied to a MathML element?
This is very related to the containing block and stacking context discussion (e.g. #74).
The text was updated successfully, but these errors were encountered: