WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
Reduction
maps.html (text/html), 758 bytes, created by
Simon Fraser (smfr)
on 2011-09-02 11:24:34 PDT
(
hide
)
Description:
Reduction
Filename:
MIME Type:
Creator:
Simon Fraser (smfr)
Created:
2011-09-02 11:24:34 PDT
Size:
758 bytes
patch
obsolete
><html> ><head> > <style> > #map_canvas { > width: 400px; > height: 400px; > position: relative; > background-color: silver; > -webkit-transform: translateZ(0px); > } > > .container { > position: absolute; > left: 0px; top: 0px; > z-index: 1; > -webkit-transform: translateZ(0px); > } > > .box { > position: absolute; > left: 150px; > top: 150px; > height: 100px; > width: 100px; > background-color: blue; > cursor: pointer; > } > > .box:hover { > background-color: orange; > } > </style> ></head> ><body> > <p>You should get a hand pointer over the blue rectangle, and it should go orange on hover.</p> > <div id="map_canvas"> > <div class="container"> > <div class="box"> > </div> > </div> > </div> ></body> ></html>
<html> <head> <style> #map_canvas { width: 400px; height: 400px; position: relative; background-color: silver; -webkit-transform: translateZ(0px); } .container { position: absolute; left: 0px; top: 0px; z-index: 1; -webkit-transform: translateZ(0px); } .box { position: absolute; left: 150px; top: 150px; height: 100px; width: 100px; background-color: blue; cursor: pointer; } .box:hover { background-color: orange; } </style> </head> <body> <p>You should get a hand pointer over the blue rectangle, and it should go orange on hover.</p> <div id="map_canvas"> <div class="container"> <div class="box"> </div> </div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 62797
:
97462
|
97464
| 106164 |
106170
|
112262
|
112275