mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision 4ac59dc8fb85817b4cf8fc801b524ed74743d2c1
This commit is contained in:
parent
cbdfc7453e
commit
6764feaa1e
363 changed files with 32223 additions and 329 deletions
|
@ -0,0 +1,37 @@
|
|||
<!doctype html>
|
||||
<title>CSS Text Test: Crash rendering RLT text with unicode-bidi: bidi-override</title>
|
||||
<link rel="help" href="https://crbug.com/1152387">
|
||||
<script type="text/javascript">
|
||||
function event_handler_CD7_readystatechange() {
|
||||
document.designMode = document.designMode == "on" ? "off" : "on";
|
||||
var oSelection=window.getSelection();
|
||||
document.execCommand("SelectAll")
|
||||
oSelection.collapseToEnd()
|
||||
document.execCommand('CreateLink',false,'about:blank');
|
||||
}
|
||||
document.addEventListener("readystatechange", event_handler_CD7_readystatechange);
|
||||
function event_handler_CD8_DOMCharacterDataModified() {
|
||||
var oSelection=window.getSelection();
|
||||
oSelection.modify('move', 'backward', 'line');
|
||||
}
|
||||
document.addEventListener("DOMCharacterDataModified", event_handler_CD8_DOMCharacterDataModified);
|
||||
setTimeout(function() {
|
||||
var oSelection=window.getSelection();
|
||||
var oRange = oSelection.rangeCount ? oSelection.getRangeAt(68 % oSelection.rangeCount) : null;
|
||||
var oParentElement = function() {
|
||||
var oNewElement = document.createElementNS('http://www.w3.org/2000/svg', 'filter');
|
||||
return oNewElement;
|
||||
}();
|
||||
oRange.surroundContents(oParentElement);
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
div {
|
||||
unicode-bidi:bidi-override;
|
||||
direction: rtl;
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
AxBxC AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
A AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue