Skip to content

Commit

Permalink
Bug 1497386 [wpt PR 13428] - [css-text] plain-text copy & paste does …
Browse files Browse the repository at this point in the history
…not preserve text-transform, a=testonly

Automatic update from web-platform-tests
[css-text] plain-text copy & paste does not preserve text-transform

This is a test for w3c/csswg-drafts#627

--
Merge pull request #13428 from frivoal/text-627

[css-text] plain-text copy & paste does not preserve text-transform
--

wpt-commits: 176d04ddd933ec150424b7f2c923ad6c4519b618, e13446ad8a47fa1643f3afa987d0da950822023b
wpt-pr: 13428

UltraBlame original commit: 740eefb87a454562ba9572fd09a2b00716527a47
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent e194621 commit 553fc57
Showing 1 changed file with 31 additions and 0 deletions.
@@ -0,0 +1,31 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS Text 3 test: effects of text-transform on plain text copy&paste</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#text-transform-property">
<meta name=flags content="interact">
<meta name=assert content="text-transform must not affect the content of a plain text copy and paste operation.">










<style>
div {
text-transform: uppercase;
border: solid 5px blue;
}
textarea { border: solid 5px orange; }
div, textarea { padding: 1em; }
</style>

<p>Copy the content of the blue box, then paste it in the orange box.
<p>The test passes if the result is in lowercase.

<div id=source>there is no need to shout</div>
<textarea></textarea>

0 comments on commit 553fc57

Please sign in to comment.