Skip to content
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

async-unsanitized-html-formats-write-read relies on very strange combination of style. #49216

Open
karlcow opened this issue Nov 18, 2024 · 0 comments

Comments

@karlcow
Copy link
Contributor

karlcow commented Nov 18, 2024

I'm not sure why this test exists, but it doesn't seem robust. Should it be removed? or modified.
https://wpt.fyi/results/clipboard-apis/async-unsanitized-html-formats-write-read.tentative.https.html
https://wpt.live/clipboard-apis/async-unsanitized-html-formats-write-read.tentative.https.html

it says it expects:

       style="
            color: blue; 
            font-size: medium; 
            font-style: normal; 
            font-variant-ligatures: normal; 
            font-variant-caps: normal; 
            font-weight: 400; 
            letter-spacing: normal; 
            orphans: 2; 
            text-align: start; 
            text-indent: 0px; 
            text-transform: none; 
            widows: 2; 
            word-spacing: 0px; 
            -webkit-text-stroke-width: 0px; 
            white-space: normal; 
            text-decoration-thickness: initial; 
            text-decoration-style: initial; 
            text-decoration-color: initial;
            "

Safari for example sends back

       style="
            color: blue; 
            font-style: normal; 
            font-variant-caps: normal; 
            font-weight: 400; 
            letter-spacing: normal; 
            orphans: auto; 
            text-align: start; 
            text-indent: 0px; 
            text-transform: none; 
            white-space: normal; 
            widows: auto; 
            word-spacing: 0px; 
            -webkit-text-stroke-width: 0px; 
            text-decoration: none;
            "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant