WebKit Bugzilla
Attachment 346925 Details for
Bug 175784
: [css-pseudo-4] Implement ::spelling-error and ::grammar-error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Simple test
test.html (text/html), 501 bytes, created by
Daniel Bates
on 2018-08-10 14:36:47 PDT
(
hide
)
Description:
Simple test
Filename:
MIME Type:
Creator:
Daniel Bates
Created:
2018-08-10 14:36:47 PDT
Size:
501 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><head> ><style> >p::spelling-error { > color: red; > background-color: purple; > text-decoration: underline; >} >p::selection { > background-color: green; >} ></style> ></head> ><body> ><p id="test" contenteditable="true"></p> ><script> > let test = document.getElementById("test"); > test.focus(); > document.execCommand("InsertText", false, "the the mispelled"); > document.execCommand("InsertText", false, " "); // Trigger spelling and grammar checking ></script> ></body> ></html>
<!DOCTYPE html> <html> <head> <style> p::spelling-error { color: red; background-color: purple; text-decoration: underline; } p::selection { background-color: green; } </style> </head> <body> <p id="test" contenteditable="true"></p> <script> let test = document.getElementById("test"); test.focus(); document.execCommand("InsertText", false, "the the mispelled"); document.execCommand("InsertText", false, " "); // Trigger spelling and grammar checking </script> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 175784
:
318674
|
318681
|
318682
|
318683
|
318689
|
319907
|
336064
|
337030
|
346924
| 346925