Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOpacity not working on span #11172
Opacity not working on span #11172
Comments
ocerman
commented
May 13, 2016
|
|
|
...since my other issue is waiting for another PR to land I would like to have a look here, in between. |
|
@broesamle You're welcome to it! Judging by some quick searching for things like opacity in the layout code, we might not be establishing a stacking context for the span? The code related to might only be used for block flows, not inline ones. |
|
Also https://github.com/servo/servo/wiki/Getting-started-with-layout may be useful. |
|
Although I am not yet done with reading through relevant code I expect this one be related to #5910 . |
|
Thank you for pointing out these docs to me. quick in-between report: First guess: that hints at dom/parsing... |
|
|
|
Again, a quick in-between report: Afterwards, it is no longer present for the Yet, I will need some more reading/debugging to understand where the opacity info is lost. |
|
I presume that modify_style_for_text is overwriting it. We should see if #11421 addresses this to make sure we're not chasing the same issue. |
|
hmm, in my two examples, modify_style_for_text is called exactly once, respectively. in both cases, it sets opacity to 1.0 again, which is not harmful in the span case. I will wait for the avoid double apply transform has landed and then return to here. |
|
Still true. |

