-
Notifications
You must be signed in to change notification settings - Fork 49
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
[css-masking-1] Remove requirement to support 'clip' property #248
Comments
http://www.bbc.co.uk/news/resources/idt-248d9ac7-9784-4769-936a-8d3b435857a8 is one page I know about that would break if this property becomes unsupported. .section-background.section-background-fixed {
clip: rect(0, auto, auto, 0);
} |
@SebastianZ |
@SebastianZ The CSS WG decided to create a 2nd level of CSS Masking. Is it ok for you to defer the decision to Level 2? Or do you feel strongly that this should be part of CSS Masking Level 1? |
|
Sorry for the long delay! I'm fine with deferring the decision to Level 2.
@AmeliaBR Do you have numbers or examples for this statement? Because this sounds like a hacky way of using Sebastian |
@SebastianZ Many screenreader ignore elements with |
@SebastianZ Just search for "visually hidden styles". Most results will either recommend @dirkschulze It is not a misuse for screenreaders to ignore |
And again a long delay on my side.
I did and you're right, there are a few pages that mention it as a possible method. Though again, the usage numbers seem to be very low. So I assume authors already mostly switched to But as @mstange pointed out, there are obviously still some big pages using it, so there's no possibility yet to remove the requirement to support it, unfortunately. Sebastian |
I don't think "some big pages use it" implies "SVG 2 must normatively require support". clip has been deprecated since at least 2014. If we omit clip from the required properties list, implementations will be free to drop support as usage drops. Otherwise we are overriding the deprecation. |
This issue is about the definition of
However, I agree we should remove it from the SVG 2 required properties list, so that if a future level of the Masking spec decides to move it from deprecated to obsolete, there are no conflicting instructions in the SVG spec! Also: any browser that supports SVG is going to support Do you want to make a separate issue/PR on SVG? |
Oops. Apologies for the noise.
|
The
clip
property was deprecated in favor ofclip-path
and according to Chrome's usage statistics[1][2] it's usage on websites has dropped below 0.0005%.So I wonder if the sentence "UAs must support the clip property." is still valid or can be removed or replaced by something less strict like "may support" or even "are discouraged to support" (until it can finally be removed completely).
Sebastian
[1] https://www.chromestatus.com/metrics/feature/timeline/popularity/1552
[2] https://www.chromestatus.com/metrics/feature/timeline/popularity/945
The text was updated successfully, but these errors were encountered: