mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect
This commit is contained in:
parent
1a5b3dcae6
commit
abb891ff26
7 changed files with 8 additions and 8 deletions
|
|
@ -54,11 +54,11 @@ function test()
|
|||
.getInterface(Ci.nsIWebNavigation)
|
||||
var docShell = webnav.QueryInterface(Ci.nsIDocShell);
|
||||
var test2Inner = iframe2.contentDocument.getElementById('test2Inner');
|
||||
test2Inner.style.MozUserSelect = 'text';
|
||||
test2Inner.style.UserSelect = 'text';
|
||||
docShell.doCommand("cmd_selectAll");
|
||||
var withoutUserSelect = snapshotWindow(iframe2.contentWindow);
|
||||
|
||||
test2Inner.style.MozUserSelect = 'none';
|
||||
test2Inner.style.UserSelect = 'none';
|
||||
docShell.doCommand("cmd_selectAll");
|
||||
var withUserSelect = snapshotWindow(iframe2.contentWindow);
|
||||
ok(compareSnapshots(withoutUserSelect, withUserSelect, true)[0], 'Editable fields should ignore user select style');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue