Changeset 215956 in webkit
- Timestamp:
- Apr 28, 2017 4:28:41 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r215951 r215956 1 2017-04-28 Chris Dumez <cdumez@apple.com> 2 3 Stop using legacy ClientRect / ClientRectList in Internals 4 https://bugs.webkit.org/show_bug.cgi?id=171412 5 6 Reviewed by Simon Fraser. 7 8 Rebaseline existing tests as DOMRect has more properties than ClientRect. 9 10 * fast/visual-viewport/nonzoomed-rects-expected.txt: 11 * fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: 12 * fast/visual-viewport/rtl-zoomed-rects-expected.txt: 13 * fast/visual-viewport/rubberbanding-viewport-rects-expected.txt: 14 * fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt: 15 * fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt: 16 * fast/visual-viewport/zoomed-fixed-expected.txt: 17 * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: 18 * fast/visual-viewport/zoomed-rects-expected.txt: 19 * inspector/dom/hideHighlight-expected.txt: 20 * inspector/dom/highlightQuad-expected.txt: 21 * inspector/dom/highlightRect-expected.txt: 22 1 23 2017-04-28 Jeremy Jones <jeremyj@apple.com> 2 24 -
trunk/LayoutTests/fast/visual-viewport/nonzoomed-rects-expected.txt
r208213 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 8 8 9 9 Scrolled to 475, 525 10 JSON.stringify(internals.layoutViewportRect()) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}11 JSON.stringify(internals.visualViewportRect()) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}10 JSON.stringify(internals.layoutViewportRect()) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 11 JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 12 12 13 13 Scrolled to 100, 776 14 JSON.stringify(internals.layoutViewportRect()) is {" top":776,"right":885,"bottom":1361,"left":100,"width":785,"height":585}15 JSON.stringify(internals.visualViewportRect()) is {" top":776,"right":885,"bottom":1361,"left":100,"width":785,"height":585}14 JSON.stringify(internals.layoutViewportRect()) is {"x":100,"y":776,"width":785,"height":585,"top":776,"right":885,"bottom":1361,"left":100} 15 JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":776,"width":785,"height":585,"top":776,"right":885,"bottom":1361,"left":100} 16 16 17 17 Scrolled to 50, 300 18 JSON.stringify(internals.layoutViewportRect()) is {" top":300,"right":835,"bottom":885,"left":50,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":300,"right":835,"bottom":885,"left":50,"width":785,"height":585}18 JSON.stringify(internals.layoutViewportRect()) is {"x":50,"y":300,"width":785,"height":585,"top":300,"right":835,"bottom":885,"left":50} 19 JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":300,"width":785,"height":585,"top":300,"right":835,"bottom":885,"left":50} 20 20 PASS successfullyParsed is true 21 21 -
trunk/LayoutTests/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt
r208409 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 8 8 9 9 Scrolled to -475, 525 10 JSON.stringify(internals.layoutViewportRect()) is {" top":525,"right":310,"bottom":1110,"left":-475,"width":785,"height":585}11 JSON.stringify(internals.visualViewportRect()) is {" top":525,"right":310,"bottom":1110,"left":-475,"width":785,"height":585}10 JSON.stringify(internals.layoutViewportRect()) is {"x":-475,"y":525,"width":785,"height":585,"top":525,"right":310,"bottom":1110,"left":-475} 11 JSON.stringify(internals.visualViewportRect()) is {"x":-475,"y":525,"width":785,"height":585,"top":525,"right":310,"bottom":1110,"left":-475} 12 12 13 13 Scrolled to -100, 776 14 JSON.stringify(internals.layoutViewportRect()) is {" top":776,"right":685,"bottom":1361,"left":-100,"width":785,"height":585}15 JSON.stringify(internals.visualViewportRect()) is {" top":776,"right":685,"bottom":1361,"left":-100,"width":785,"height":585}14 JSON.stringify(internals.layoutViewportRect()) is {"x":-100,"y":776,"width":785,"height":585,"top":776,"right":685,"bottom":1361,"left":-100} 15 JSON.stringify(internals.visualViewportRect()) is {"x":-100,"y":776,"width":785,"height":585,"top":776,"right":685,"bottom":1361,"left":-100} 16 16 17 17 Scrolled to -50, 300 18 JSON.stringify(internals.layoutViewportRect()) is {" top":300,"right":735,"bottom":885,"left":-50,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":300,"right":735,"bottom":885,"left":-50,"width":785,"height":585}18 JSON.stringify(internals.layoutViewportRect()) is {"x":-50,"y":300,"width":785,"height":585,"top":300,"right":735,"bottom":885,"left":-50} 19 JSON.stringify(internals.visualViewportRect()) is {"x":-50,"y":300,"width":785,"height":585,"top":300,"right":735,"bottom":885,"left":-50} 20 20 PASS successfullyParsed is true 21 21 -
trunk/LayoutTests/fast/visual-viewport/rtl-zoomed-rects-expected.txt
r208409 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":392.5,"bottom":292.5,"left":0,"width":392.5,"height":292.5}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":392.5,"height":292.5,"top":0,"right":392.5,"bottom":292.5,"left":0} 8 8 9 9 Scrolled to -475, 525 10 JSON.stringify(internals.layoutViewportRect()) is {" top":232.5,"right":310,"bottom":817.5,"left":-475,"width":785,"height":585}11 JSON.stringify(internals.visualViewportRect()) is {" top":525,"right":-82.5,"bottom":817.5,"left":-475,"width":392.5,"height":292.5}10 JSON.stringify(internals.layoutViewportRect()) is {"x":-475,"y":232.5,"width":785,"height":585,"top":232.5,"right":310,"bottom":817.5,"left":-475} 11 JSON.stringify(internals.visualViewportRect()) is {"x":-475,"y":525,"width":392.5,"height":292.5,"top":525,"right":-82.5,"bottom":817.5,"left":-475} 12 12 13 13 Scrolled to -100, 776 14 JSON.stringify(internals.layoutViewportRect()) is {" top":483.5,"right":310,"bottom":1068.5,"left":-475,"width":785,"height":585}15 JSON.stringify(internals.visualViewportRect()) is {" top":776,"right":292.5,"bottom":1068.5,"left":-100,"width":392.5,"height":292.5}14 JSON.stringify(internals.layoutViewportRect()) is {"x":-475,"y":483.5,"width":785,"height":585,"top":483.5,"right":310,"bottom":1068.5,"left":-475} 15 JSON.stringify(internals.visualViewportRect()) is {"x":-100,"y":776,"width":392.5,"height":292.5,"top":776,"right":292.5,"bottom":1068.5,"left":-100} 16 16 17 17 Scrolled to -50, 300 18 JSON.stringify(internals.layoutViewportRect()) is {" top":300,"right":342.5,"bottom":885,"left":-442.5,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":300,"right":342.5,"bottom":592.5,"left":-50,"width":392.5,"height":292.5}18 JSON.stringify(internals.layoutViewportRect()) is {"x":-442.5,"y":300,"width":785,"height":585,"top":300,"right":342.5,"bottom":885,"left":-442.5} 19 JSON.stringify(internals.visualViewportRect()) is {"x":-50,"y":300,"width":392.5,"height":292.5,"top":300,"right":342.5,"bottom":592.5,"left":-50} 20 20 PASS successfullyParsed is true 21 21 -
trunk/LayoutTests/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt
r212559 r215956 5 5 6 6 Scrolled to -123, -234 7 JSON.stringify(layoutViewport) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}8 JSON.stringify(visualViewport) is {" top":-234,"right":662,"bottom":351,"left":-123,"width":785,"height":585}7 JSON.stringify(layoutViewport) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 8 JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":785,"height":585,"top":-234,"right":662,"bottom":351,"left":-123} 9 9 10 10 Scrolled to 475, 525 11 JSON.stringify(layoutViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}12 JSON.stringify(visualViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}11 JSON.stringify(layoutViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 12 JSON.stringify(visualViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 13 13 14 14 Scrolled to 1800, 1850 15 JSON.stringify(layoutViewport) is {" top":1695,"right":2008,"bottom":2280,"left":1223,"width":785,"height":585}16 JSON.stringify(visualViewport) is {" top":1850,"right":2585,"bottom":2435,"left":1800,"width":785,"height":585}15 JSON.stringify(layoutViewport) is {"x":1223,"y":1695,"width":785,"height":585,"top":1695,"right":2008,"bottom":2280,"left":1223} 16 JSON.stringify(visualViewport) is {"x":1800,"y":1850,"width":785,"height":585,"top":1850,"right":2585,"bottom":2435,"left":1800} 17 17 PASS successfullyParsed is true 18 18 -
trunk/LayoutTests/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt
r212559 r215956 5 5 6 6 Scrolled to -123, -234 7 JSON.stringify(layoutViewport) is {" top":-234,"right":662,"bottom":351,"left":-123,"width":785,"height":585}8 JSON.stringify(visualViewport) is {" top":-234,"right":662,"bottom":351,"left":-123,"width":785,"height":585}7 JSON.stringify(layoutViewport) is {"x":-123,"y":-234,"width":785,"height":585,"top":-234,"right":662,"bottom":351,"left":-123} 8 JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":785,"height":585,"top":-234,"right":662,"bottom":351,"left":-123} 9 9 10 10 Scrolled to 475, 525 11 JSON.stringify(layoutViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}12 JSON.stringify(visualViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}11 JSON.stringify(layoutViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 12 JSON.stringify(visualViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 13 13 14 14 Scrolled to 1800, 1850 15 JSON.stringify(layoutViewport) is {" top":1850,"right":2585,"bottom":2435,"left":1800,"width":785,"height":585}16 JSON.stringify(visualViewport) is {" top":1850,"right":2585,"bottom":2435,"left":1800,"width":785,"height":585}15 JSON.stringify(layoutViewport) is {"x":1800,"y":1850,"width":785,"height":585,"top":1850,"right":2585,"bottom":2435,"left":1800} 16 JSON.stringify(visualViewport) is {"x":1800,"y":1850,"width":785,"height":585,"top":1850,"right":2585,"bottom":2435,"left":1800} 17 17 PASS successfullyParsed is true 18 18 -
trunk/LayoutTests/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt
r211379 r215956 5 5 6 6 Scrolled to -123, -234 7 JSON.stringify(layoutViewport) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}8 JSON.stringify(visualViewport) is {" top":-234,"right":662,"bottom":299,"left":-123,"width":785,"height":533}7 JSON.stringify(layoutViewport) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 8 JSON.stringify(visualViewport) is {"x":-123,"y":-234,"width":785,"height":533,"top":-234,"right":662,"bottom":299,"left":-123} 9 9 10 10 Scrolled to 475, 525 11 JSON.stringify(layoutViewport) is {" top":473,"right":1260,"bottom":1058,"left":475,"width":785,"height":585}12 JSON.stringify(visualViewport) is {" top":473,"right":1260,"bottom":1058,"left":475,"width":785,"height":585}11 JSON.stringify(layoutViewport) is {"x":475,"y":473,"width":785,"height":585,"top":473,"right":1260,"bottom":1058,"left":475} 12 JSON.stringify(visualViewport) is {"x":475,"y":473,"width":785,"height":585,"top":473,"right":1260,"bottom":1058,"left":475} 13 13 14 14 Scrolled to 1800, 1700 15 JSON.stringify(layoutViewport) is {" top":1648,"right":2008,"bottom":2233,"left":1223,"width":785,"height":585}16 JSON.stringify(visualViewport) is {" top":1648,"right":2585,"bottom":2233,"left":1800,"width":785,"height":585}15 JSON.stringify(layoutViewport) is {"x":1223,"y":1648,"width":785,"height":585,"top":1648,"right":2008,"bottom":2233,"left":1223} 16 JSON.stringify(visualViewport) is {"x":1800,"y":1648,"width":785,"height":585,"top":1648,"right":2585,"bottom":2233,"left":1800} 17 17 PASS successfullyParsed is true 18 18 -
trunk/LayoutTests/fast/visual-viewport/zoomed-fixed-expected.txt
r215892 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":392.5,"bottom":292.5,"left":0,"width":392.5,"height":292.5}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":392.5,"height":292.5,"top":0,"right":392.5,"bottom":292.5,"left":0} 8 8 client rect of top: 9 9 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":0,"y":0,"width":785,"height":100,"top":0,"right":785,"bottom":100,"left":0} … … 16 16 17 17 Scrolled to 475, 525 18 JSON.stringify(internals.layoutViewportRect()) is {" top":232.5,"right":867.5,"bottom":817.5,"left":82.5,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":525,"right":867.5,"bottom":817.5,"left":475,"width":392.5,"height":292.5}18 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":232.5,"width":785,"height":585,"top":232.5,"right":867.5,"bottom":817.5,"left":82.5} 19 JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":525,"width":392.5,"height":292.5,"top":525,"right":867.5,"bottom":817.5,"left":475} 20 20 client rect of top: 21 21 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":-392.5,"y":-292.5,"width":785,"height":100,"top":-292.5,"right":392.5,"bottom":-192.5,"left":-392.5} … … 28 28 29 29 Scrolled to 100, 776 30 JSON.stringify(internals.layoutViewportRect()) is {" top":483.5,"right":867.5,"bottom":1068.5,"left":82.5,"width":785,"height":585}31 JSON.stringify(internals.visualViewportRect()) is {" top":776,"right":492.5,"bottom":1068.5,"left":100,"width":392.5,"height":292.5}30 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":483.5,"width":785,"height":585,"top":483.5,"right":867.5,"bottom":1068.5,"left":82.5} 31 JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":776,"width":392.5,"height":292.5,"top":776,"right":492.5,"bottom":1068.5,"left":100} 32 32 client rect of top: 33 33 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":-17.5,"y":-292.5,"width":785,"height":100,"top":-292.5,"right":767.5,"bottom":-192.5,"left":-17.5} … … 40 40 41 41 Scrolled to 50, 300 42 JSON.stringify(internals.layoutViewportRect()) is {" top":300,"right":835,"bottom":885,"left":50,"width":785,"height":585}43 JSON.stringify(internals.visualViewportRect()) is {" top":300,"right":442.5,"bottom":592.5,"left":50,"width":392.5,"height":292.5}42 JSON.stringify(internals.layoutViewportRect()) is {"x":50,"y":300,"width":785,"height":585,"top":300,"right":835,"bottom":885,"left":50} 43 JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":300,"width":392.5,"height":292.5,"top":300,"right":442.5,"bottom":592.5,"left":50} 44 44 client rect of top: 45 45 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":0,"y":0,"width":785,"height":100,"top":0,"right":785,"bottom":100,"left":0} -
trunk/LayoutTests/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt
r215892 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":392.5,"bottom":271,"left":0,"width":392.5,"height":271}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":392.5,"height":271,"top":0,"right":392.5,"bottom":271,"left":0} 8 8 client rect of top: 9 9 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":0,"y":0,"width":785,"height":100,"top":0,"right":785,"bottom":100,"left":0} … … 16 16 17 17 Scrolled to 475, 525 18 JSON.stringify(internals.layoutViewportRect()) is {" top":211,"right":867.5,"bottom":796,"left":82.5,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":503.5,"right":867.5,"bottom":796,"left":475,"width":392.5,"height":292.5}18 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":211,"width":785,"height":585,"top":211,"right":867.5,"bottom":796,"left":82.5} 19 JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":503.5,"width":392.5,"height":292.5,"top":503.5,"right":867.5,"bottom":796,"left":475} 20 20 client rect of top: 21 21 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":-392.5,"y":-314,"width":785,"height":100,"top":-314,"right":392.5,"bottom":-214,"left":-392.5} … … 28 28 29 29 Scrolled to 100, 776 30 JSON.stringify(internals.layoutViewportRect()) is {" top":462,"right":867.5,"bottom":1047,"left":82.5,"width":785,"height":585}31 JSON.stringify(internals.visualViewportRect()) is {" top":754.5,"right":492.5,"bottom":1047,"left":100,"width":392.5,"height":292.5}30 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":462,"width":785,"height":585,"top":462,"right":867.5,"bottom":1047,"left":82.5} 31 JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":754.5,"width":392.5,"height":292.5,"top":754.5,"right":492.5,"bottom":1047,"left":100} 32 32 client rect of top: 33 33 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":-17.5,"y":-314,"width":785,"height":100,"top":-314,"right":767.5,"bottom":-214,"left":-17.5} … … 40 40 41 41 Scrolled to 50, 300 42 JSON.stringify(internals.layoutViewportRect()) is {" top":278.5,"right":835,"bottom":863.5,"left":50,"width":785,"height":585}43 JSON.stringify(internals.visualViewportRect()) is {" top":278.5,"right":442.5,"bottom":571,"left":50,"width":392.5,"height":292.5}42 JSON.stringify(internals.layoutViewportRect()) is {"x":50,"y":278.5,"width":785,"height":585,"top":278.5,"right":835,"bottom":863.5,"left":50} 43 JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":278.5,"width":392.5,"height":292.5,"top":278.5,"right":442.5,"bottom":571,"left":50} 44 44 client rect of top: 45 45 JSON.stringify(fixedElement.getBoundingClientRect()) is {"x":0,"y":-21.5,"width":785,"height":100,"top":-21.5,"right":785,"bottom":78.5,"left":0} -
trunk/LayoutTests/fast/visual-viewport/zoomed-rects-expected.txt
r208213 r215956 4 4 5 5 6 JSON.stringify(internals.layoutViewportRect()) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(internals.visualViewportRect()) is {" top":0,"right":392.5,"bottom":292.5,"left":0,"width":392.5,"height":292.5}6 JSON.stringify(internals.layoutViewportRect()) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 7 JSON.stringify(internals.visualViewportRect()) is {"x":0,"y":0,"width":392.5,"height":292.5,"top":0,"right":392.5,"bottom":292.5,"left":0} 8 8 9 9 Scrolled to 475, 525 10 JSON.stringify(internals.layoutViewportRect()) is {" top":232.5,"right":867.5,"bottom":817.5,"left":82.5,"width":785,"height":585}11 JSON.stringify(internals.visualViewportRect()) is {" top":525,"right":867.5,"bottom":817.5,"left":475,"width":392.5,"height":292.5}10 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":232.5,"width":785,"height":585,"top":232.5,"right":867.5,"bottom":817.5,"left":82.5} 11 JSON.stringify(internals.visualViewportRect()) is {"x":475,"y":525,"width":392.5,"height":292.5,"top":525,"right":867.5,"bottom":817.5,"left":475} 12 12 13 13 Scrolled to 100, 776 14 JSON.stringify(internals.layoutViewportRect()) is {" top":483.5,"right":867.5,"bottom":1068.5,"left":82.5,"width":785,"height":585}15 JSON.stringify(internals.visualViewportRect()) is {" top":776,"right":492.5,"bottom":1068.5,"left":100,"width":392.5,"height":292.5}14 JSON.stringify(internals.layoutViewportRect()) is {"x":82.5,"y":483.5,"width":785,"height":585,"top":483.5,"right":867.5,"bottom":1068.5,"left":82.5} 15 JSON.stringify(internals.visualViewportRect()) is {"x":100,"y":776,"width":392.5,"height":292.5,"top":776,"right":492.5,"bottom":1068.5,"left":100} 16 16 17 17 Scrolled to 50, 300 18 JSON.stringify(internals.layoutViewportRect()) is {" top":300,"right":835,"bottom":885,"left":50,"width":785,"height":585}19 JSON.stringify(internals.visualViewportRect()) is {" top":300,"right":442.5,"bottom":592.5,"left":50,"width":392.5,"height":292.5}18 JSON.stringify(internals.layoutViewportRect()) is {"x":50,"y":300,"width":785,"height":585,"top":300,"right":835,"bottom":885,"left":50} 19 JSON.stringify(internals.visualViewportRect()) is {"x":50,"y":300,"width":392.5,"height":292.5,"top":300,"right":442.5,"bottom":592.5,"left":50} 20 20 PASS successfullyParsed is true 21 21 -
trunk/LayoutTests/inspector/dom/hideHighlight-expected.txt
r189416 r215956 8 8 -- Running test case: HighlightRect 9 9 PASS: Should be one highlight rect. 10 Highlight Rect: {" top":0,"right":100,"bottom":100,"left":0,"width":100,"height":100}10 Highlight Rect: {"x":0,"y":0,"width":100,"height":100,"top":0,"right":100,"bottom":100,"left":0} 11 11 12 12 -- Running test case: HideHighlight … … 15 15 -- Running test case: HighlightQuad 16 16 PASS: Should be one highlight rect. 17 Highlight Rect: {" top":100,"right":150,"bottom":200,"left":50,"width":100,"height":100}17 Highlight Rect: {"x":50,"y":100,"width":100,"height":100,"top":100,"right":150,"bottom":200,"left":50} 18 18 19 19 -- Running test case: HideHighlight -
trunk/LayoutTests/inspector/dom/highlightQuad-expected.txt
r189416 r215956 8 8 -- Running test case: HighlightSmallRectWithQuad 9 9 PASS: Should be one highlight rect. 10 Highlight Rect: {" top":0,"right":100,"bottom":100,"left":0,"width":100,"height":100}10 Highlight Rect: {"x":0,"y":0,"width":100,"height":100,"top":0,"right":100,"bottom":100,"left":0} 11 11 12 12 -- Running test case: HighlightSmallQuadViewportCoordinates 13 13 PASS: Should be one highlight rect. 14 Highlight Rect: {" top":100,"right":150,"bottom":200,"left":50,"width":100,"height":100}14 Highlight Rect: {"x":50,"y":100,"width":100,"height":100,"top":100,"right":150,"bottom":200,"left":50} 15 15 16 16 -- Running test case: HighlightSmallQuadPageCoordinates 17 17 PASS: Should be one highlight rect. 18 Highlight Rect: {" top":90,"right":140,"bottom":190,"left":40,"width":100,"height":100}18 Highlight Rect: {"x":40,"y":90,"width":100,"height":100,"top":90,"right":140,"bottom":190,"left":40} 19 19 20 20 -- Running test case: HighlightSmallUnspecifiedCoordinatesUsesViewportCoordinates 21 21 PASS: Should be one highlight rect. 22 Highlight Rect: {" top":100,"right":150,"bottom":200,"left":50,"width":100,"height":100}22 Highlight Rect: {"x":50,"y":100,"width":100,"height":100,"top":100,"right":150,"bottom":200,"left":50} 23 23 24 24 -- Running test case: HighlightLargeQuadViewportCoordinates 25 25 PASS: Should be one highlight rect. 26 Highlight Rect: {" top":0,"right":1000,"bottom":2000,"left":0,"width":1000,"height":2000}26 Highlight Rect: {"x":0,"y":0,"width":1000,"height":2000,"top":0,"right":1000,"bottom":2000,"left":0} 27 27 28 28 -- Running test case: HighlightLargeQuadPageCoordinates 29 29 PASS: Should be one highlight rect. 30 Highlight Rect: {" top":-10,"right":990,"bottom":1990,"left":-10,"width":1000,"height":2000}30 Highlight Rect: {"x":-10,"y":-10,"width":1000,"height":2000,"top":-10,"right":990,"bottom":1990,"left":-10} 31 31 32 32 -- Running test case: BadQuadShouldError -
trunk/LayoutTests/inspector/dom/highlightRect-expected.txt
r189416 r215956 8 8 -- Running test case: HighlightSmallRectViewportCoordinates 9 9 PASS: Should be one highlight rect. 10 Highlight Rect: {" top":0,"right":100,"bottom":200,"left":0,"width":100,"height":200}10 Highlight Rect: {"x":0,"y":0,"width":100,"height":200,"top":0,"right":100,"bottom":200,"left":0} 11 11 12 12 -- Running test case: HighlightSmallRectPageCoordinates 13 13 PASS: Should be one highlight rect. 14 Highlight Rect: {" top":-10,"right":90,"bottom":190,"left":-10,"width":100,"height":200}14 Highlight Rect: {"x":-10,"y":-10,"width":100,"height":200,"top":-10,"right":90,"bottom":190,"left":-10} 15 15 16 16 -- Running test case: HighlightSmallRectUnspecifiedCoordinatesUsesViewportCoordinates 17 17 PASS: Should be one highlight rect. 18 Highlight Rect: {" top":0,"right":100,"bottom":200,"left":0,"width":100,"height":200}18 Highlight Rect: {"x":0,"y":0,"width":100,"height":200,"top":0,"right":100,"bottom":200,"left":0} 19 19 20 20 -- Running test case: HighlightLargeRectViewportCoordinates 21 21 PASS: Should be one highlight rect. 22 Highlight Rect: {" top":0,"right":100000,"bottom":200000,"left":0,"width":100000,"height":200000}22 Highlight Rect: {"x":0,"y":0,"width":100000,"height":200000,"top":0,"right":100000,"bottom":200000,"left":0} 23 23 24 24 -- Running test case: HighlightLargeRectPageCoordinates 25 25 PASS: Should be one highlight rect. 26 Highlight Rect: {" top":-10,"right":99990,"bottom":199990,"left":-10,"width":100000,"height":200000}26 Highlight Rect: {"x":-10,"y":-10,"width":100000,"height":200000,"top":-10,"right":99990,"bottom":199990,"left":-10} 27 27 28 28 -- Running test case: HighlightEmptyRect 29 29 PASS: Should be one highlight rect. 30 Highlight Rect: {" top":0,"right":0,"bottom":0,"left":0,"width":0,"height":0}30 Highlight Rect: {"x":0,"y":0,"width":0,"height":0,"top":0,"right":0,"bottom":0,"left":0} 31 31 -
trunk/LayoutTests/platform/mac-wk1/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt
r212559 r215956 5 5 6 6 Scrolled to 0, 0 7 JSON.stringify(layoutViewport) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}8 JSON.stringify(visualViewport) is {" top":0,"right":785,"bottom":585,"left":0,"width":785,"height":585}7 JSON.stringify(layoutViewport) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 8 JSON.stringify(visualViewport) is {"x":0,"y":0,"width":785,"height":585,"top":0,"right":785,"bottom":585,"left":0} 9 9 10 10 Scrolled to 475, 525 11 JSON.stringify(layoutViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}12 JSON.stringify(visualViewport) is {" top":525,"right":1260,"bottom":1110,"left":475,"width":785,"height":585}11 JSON.stringify(layoutViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 12 JSON.stringify(visualViewport) is {"x":475,"y":525,"width":785,"height":585,"top":525,"right":1260,"bottom":1110,"left":475} 13 13 14 14 Scrolled to 1223, 1713 15 JSON.stringify(layoutViewport) is {" top":1713,"right":2008,"bottom":2298,"left":1223,"width":785,"height":585}16 JSON.stringify(visualViewport) is {" top":1713,"right":2008,"bottom":2298,"left":1223,"width":785,"height":585}15 JSON.stringify(layoutViewport) is {"x":1223,"y":1713,"width":785,"height":585,"top":1713,"right":2008,"bottom":2298,"left":1223} 16 JSON.stringify(visualViewport) is {"x":1223,"y":1713,"width":785,"height":585,"top":1713,"right":2008,"bottom":2298,"left":1223} 17 17 PASS successfullyParsed is true 18 18 -
trunk/Source/WebCore/ChangeLog
r215955 r215956 1 2017-04-28 Chris Dumez <cdumez@apple.com> 2 3 Stop using legacy ClientRect / ClientRectList in Internals 4 https://bugs.webkit.org/show_bug.cgi?id=171412 5 6 Reviewed by Simon Fraser. 7 8 Stop using legacy ClientRect / ClientRectList in Internals amd use the 9 newer DOMRect instead. 10 11 * dom/DOMRect.idl: 12 * page/Page.cpp: 13 (WebCore::Page::nonFastScrollableRects): 14 (WebCore::Page::touchEventRectsForEvent): 15 (WebCore::Page::passiveTouchEventListenerRects): 16 * page/Page.h: 17 * testing/Internals.cpp: 18 (WebCore::Internals::absoluteCaretBounds): 19 (WebCore::Internals::boundingBox): 20 (WebCore::Internals::inspectorHighlightRects): 21 (WebCore::Internals::layoutViewportRect): 22 (WebCore::Internals::visualViewportRect): 23 (WebCore::Internals::touchEventRectsForEvent): 24 (WebCore::Internals::passiveTouchEventListenerRects): 25 (WebCore::Internals::nonFastScrollableRects): 26 (WebCore::Internals::selectionBounds): 27 * testing/Internals.h: 28 * testing/Internals.idl: 29 1 30 2017-04-28 Youenn Fablet <youenn@apple.com> 2 31 -
trunk/Source/WebCore/dom/DOMRect.h
r215946 r215956 59 59 }; 60 60 61 Vector<Ref<DOMRect>> createDOMRectVector(const Vector<FloatQuad>&);61 WEBCORE_EXPORT Vector<Ref<DOMRect>> createDOMRectVector(const Vector<FloatQuad>&); 62 62 63 63 } -
trunk/Source/WebCore/dom/DOMRect.idl
r207438 r215956 29 29 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, 30 30 optional unrestricted double width = 0, optional unrestricted double height = 0), 31 ExportMacro=WEBCORE_EXPORT, 31 32 Exposed=(Window,Worker), 32 33 ImplementationLacksVTable -
trunk/Source/WebCore/page/Page.cpp
r215607 r215956 29 29 #include "Chrome.h" 30 30 #include "ChromeClient.h" 31 #include "ClientRectList.h"32 31 #include "ConstantPropertyMap.h" 33 32 #include "ContextMenuClient.h" 34 33 #include "ContextMenuController.h" 34 #include "DOMRect.h" 35 35 #include "DatabaseProvider.h" 36 36 #include "DiagnosticLoggingClient.h" … … 406 406 } 407 407 408 Ref<ClientRectList> Page::nonFastScrollableRects()408 Vector<Ref<DOMRect>> Page::nonFastScrollableRects() 409 409 { 410 410 if (Document* document = m_mainFrame->document()) … … 422 422 quads[i] = FloatRect(rects[i]); 423 423 424 return ClientRectList::create(quads);425 } 426 427 Ref<ClientRectList> Page::touchEventRectsForEvent(const String& eventName)424 return createDOMRectVector(quads); 425 } 426 427 Vector<Ref<DOMRect>> Page::touchEventRectsForEvent(const String& eventName) 428 428 { 429 429 if (Document* document = m_mainFrame->document()) { … … 445 445 quads[i] = FloatRect(rects[i]); 446 446 447 return ClientRectList::create(quads);448 } 449 450 Ref<ClientRectList> Page::passiveTouchEventListenerRects()447 return createDOMRectVector(quads); 448 } 449 450 Vector<Ref<DOMRect>> Page::passiveTouchEventListenerRects() 451 451 { 452 452 if (Document* document = m_mainFrame->document()) { … … 465 465 quads[i] = FloatRect(rects[i]); 466 466 467 return ClientRectList::create(quads);467 return createDOMRectVector(quads); 468 468 } 469 469 -
trunk/Source/WebCore/page/Page.h
r215607 r215956 82 82 class Chrome; 83 83 class ChromeClient; 84 class ClientRectList;85 84 class Color; 86 85 class ContextMenuClient; 87 86 class ContextMenuController; 87 class DOMRect; 88 88 class DatabaseProvider; 89 89 class DiagnosticLoggingClient; … … 240 240 WEBCORE_EXPORT String scrollingStateTreeAsText(); 241 241 WEBCORE_EXPORT String synchronousScrollingReasonsAsText(); 242 WEBCORE_EXPORT Ref<ClientRectList> nonFastScrollableRects();243 244 WEBCORE_EXPORT Ref<ClientRectList> touchEventRectsForEvent(const String& eventName);245 WEBCORE_EXPORT Ref<ClientRectList> passiveTouchEventListenerRects();242 WEBCORE_EXPORT Vector<Ref<DOMRect>> nonFastScrollableRects(); 243 244 WEBCORE_EXPORT Vector<Ref<DOMRect>> touchEventRectsForEvent(const String& eventName); 245 WEBCORE_EXPORT Vector<Ref<DOMRect>> passiveTouchEventListenerRects(); 246 246 247 247 Settings& settings() const { return *m_settings; } -
trunk/Source/WebCore/testing/Internals.cpp
r215929 r215956 41 41 #include "CachedImage.h" 42 42 #include "CachedResourceLoader.h" 43 #include "ClientRect.h"44 #include "ClientRectList.h"45 43 #include "ComposedTreeIterator.h" 46 44 #include "Cursor.h" 47 45 #include "DOMPath.h" 46 #include "DOMRect.h" 48 47 #include "DOMStringList.h" 49 48 #include "DOMWindow.h" … … 1329 1328 #endif 1330 1329 1331 ExceptionOr<Ref< ClientRect>> Internals::absoluteCaretBounds()1330 ExceptionOr<Ref<DOMRect>> Internals::absoluteCaretBounds() 1332 1331 { 1333 1332 Document* document = contextDocument(); … … 1335 1334 return Exception { INVALID_ACCESS_ERR }; 1336 1335 1337 return ClientRect::create(document->frame()->selection().absoluteCaretBounds());1338 } 1339 1340 Ref< ClientRect> Internals::boundingBox(Element& element)1336 return DOMRect::create(document->frame()->selection().absoluteCaretBounds()); 1337 } 1338 1339 Ref<DOMRect> Internals::boundingBox(Element& element) 1341 1340 { 1342 1341 element.document().updateLayoutIgnorePendingStylesheets(); 1343 1342 auto renderer = element.renderer(); 1344 1343 if (!renderer) 1345 return ClientRect::create();1346 return ClientRect::create(renderer->absoluteBoundingBoxRectIgnoringTransforms());1347 } 1348 1349 ExceptionOr< Ref<ClientRectList>> Internals::inspectorHighlightRects()1344 return DOMRect::create(); 1345 return DOMRect::create(renderer->absoluteBoundingBoxRectIgnoringTransforms()); 1346 } 1347 1348 ExceptionOr<Vector<Ref<DOMRect>>> Internals::inspectorHighlightRects() 1350 1349 { 1351 1350 Document* document = contextDocument(); … … 1355 1354 Highlight highlight; 1356 1355 document->page()->inspectorController().getHighlight(highlight, InspectorOverlay::CoordinateSystem::View); 1357 return ClientRectList::create(highlight.quads);1356 return createDOMRectVector(highlight.quads); 1358 1357 } 1359 1358 … … 1497 1496 } 1498 1497 1499 ExceptionOr<Ref< ClientRect>> Internals::layoutViewportRect()1498 ExceptionOr<Ref<DOMRect>> Internals::layoutViewportRect() 1500 1499 { 1501 1500 Document* document = contextDocument(); … … 1506 1505 1507 1506 auto& frameView = *document->view(); 1508 return ClientRect::create(frameView.layoutViewportRect());1509 } 1510 1511 ExceptionOr<Ref< ClientRect>> Internals::visualViewportRect()1507 return DOMRect::create(frameView.layoutViewportRect()); 1508 } 1509 1510 ExceptionOr<Ref<DOMRect>> Internals::visualViewportRect() 1512 1511 { 1513 1512 Document* document = contextDocument(); … … 1518 1517 1519 1518 auto& frameView = *document->view(); 1520 return ClientRect::create(frameView.visualViewportRect());1519 return DOMRect::create(frameView.visualViewportRect()); 1521 1520 } 1522 1521 … … 1791 1790 } 1792 1791 1793 ExceptionOr< Ref<ClientRectList>> Internals::touchEventRectsForEvent(const String& eventName)1792 ExceptionOr<Vector<Ref<DOMRect>>> Internals::touchEventRectsForEvent(const String& eventName) 1794 1793 { 1795 1794 Document* document = contextDocument(); … … 1800 1799 } 1801 1800 1802 ExceptionOr< Ref<ClientRectList>> Internals::passiveTouchEventListenerRects()1801 ExceptionOr<Vector<Ref<DOMRect>>> Internals::passiveTouchEventListenerRects() 1803 1802 { 1804 1803 Document* document = contextDocument(); … … 2322 2321 } 2323 2322 2324 ExceptionOr< RefPtr<ClientRectList>> Internals::nonFastScrollableRects() const2323 ExceptionOr<Vector<Ref<DOMRect>>> Internals::nonFastScrollableRects() const 2325 2324 { 2326 2325 Document* document = contextDocument(); … … 2330 2329 Page* page = document->page(); 2331 2330 if (!page) 2332 return nullptr;2333 2334 return RefPtr<ClientRectList> { page->nonFastScrollableRects() };2331 return Vector<Ref<DOMRect>> { }; 2332 2333 return page->nonFastScrollableRects(); 2335 2334 } 2336 2335 … … 3123 3122 #endif 3124 3123 3125 ExceptionOr<Ref< ClientRect>> Internals::selectionBounds()3124 ExceptionOr<Ref<DOMRect>> Internals::selectionBounds() 3126 3125 { 3127 3126 Document* document = contextDocument(); … … 3129 3128 return Exception { INVALID_ACCESS_ERR }; 3130 3129 3131 return ClientRect::create(document->frame()->selection().selectionBounds());3130 return DOMRect::create(document->frame()->selection().selectionBounds()); 3132 3131 } 3133 3132 -
trunk/Source/WebCore/testing/Internals.h
r215929 r215956 43 43 44 44 class AudioContext; 45 class ClientRect; 46 class ClientRectList; 45 class DOMRect; 47 46 class DOMURL; 48 47 class DOMWindow; … … 180 179 ExceptionOr<void> setFormControlStateOfPreviousHistoryItem(const Vector<String>&); 181 180 182 ExceptionOr<Ref< ClientRect>> absoluteCaretBounds();183 184 Ref< ClientRect> boundingBox(Element&);185 186 ExceptionOr< Ref<ClientRectList>> inspectorHighlightRects();181 ExceptionOr<Ref<DOMRect>> absoluteCaretBounds(); 182 183 Ref<DOMRect> boundingBox(Element&); 184 185 ExceptionOr<Vector<Ref<DOMRect>>> inspectorHighlightRects(); 187 186 ExceptionOr<String> inspectorHighlightObject(); 188 187 … … 201 200 ExceptionOr<void> setScrollViewPosition(int x, int y); 202 201 203 ExceptionOr<Ref< ClientRect>> layoutViewportRect();204 ExceptionOr<Ref< ClientRect>> visualViewportRect();202 ExceptionOr<Ref<DOMRect>> layoutViewportRect(); 203 ExceptionOr<Ref<DOMRect>> visualViewportRect(); 205 204 206 205 ExceptionOr<void> setViewBaseBackgroundColor(const String& colorValue); … … 244 243 ExceptionOr<unsigned> touchEventHandlerCount(); 245 244 246 ExceptionOr< Ref<ClientRectList>> touchEventRectsForEvent(const String&);247 ExceptionOr< Ref<ClientRectList>> passiveTouchEventListenerRects();245 ExceptionOr<Vector<Ref<DOMRect>>> touchEventRectsForEvent(const String&); 246 ExceptionOr<Vector<Ref<DOMRect>>> passiveTouchEventListenerRects(); 248 247 249 248 ExceptionOr<RefPtr<NodeList>> nodesFromRect(Document&, int x, int y, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowShadowContent, bool allowChildFrameContent) const; … … 299 298 ExceptionOr<String> scrollingStateTreeAsText() const; 300 299 ExceptionOr<String> mainThreadScrollingReasons() const; 301 ExceptionOr< RefPtr<ClientRectList>> nonFastScrollableRects() const;300 ExceptionOr<Vector<Ref<DOMRect>>> nonFastScrollableRects() const; 302 301 303 302 ExceptionOr<void> setElementUsesDisplayListDrawing(Element&, bool usesDisplayListDrawing); … … 450 449 #endif 451 450 452 ExceptionOr<Ref< ClientRect>> selectionBounds();451 ExceptionOr<Ref<DOMRect>> selectionBounds(); 453 452 454 453 #if ENABLE(VIBRATION) -
trunk/Source/WebCore/testing/Internals.idl
r215929 r215956 149 149 [MayThrowException] void setFormControlStateOfPreviousHistoryItem(sequence<DOMString> values); 150 150 151 [MayThrowException] ClientRect absoluteCaretBounds();152 153 ClientRect boundingBox(Element element);154 155 [MayThrowException] ClientRectListinspectorHighlightRects();151 [MayThrowException] DOMRect absoluteCaretBounds(); 152 153 DOMRect boundingBox(Element element); 154 155 [MayThrowException] sequence<DOMRect> inspectorHighlightRects(); 156 156 [MayThrowException] DOMString inspectorHighlightObject(); 157 157 … … 168 168 [MayThrowException] void setScrollViewPosition(long x, long y); 169 169 170 [MayThrowException] ClientRect layoutViewportRect();171 [MayThrowException] ClientRect visualViewportRect();170 [MayThrowException] DOMRect layoutViewportRect(); 171 [MayThrowException] DOMRect visualViewportRect(); 172 172 173 173 [MayThrowException] void setViewBaseBackgroundColor(DOMString colorValue); … … 216 216 [MayThrowException] unsigned long touchEventHandlerCount(); 217 217 218 [MayThrowException] ClientRectListtouchEventRectsForEvent(DOMString eventName);219 [MayThrowException] ClientRectListpassiveTouchEventListenerRects();218 [MayThrowException] sequence<DOMRect> touchEventRectsForEvent(DOMString eventName); 219 [MayThrowException] sequence<DOMRect> passiveTouchEventListenerRects(); 220 220 221 221 [MayThrowException] NodeList? nodesFromRect(Document document, long x, long y, … … 274 274 [MayThrowException] DOMString scrollingStateTreeAsText(); 275 275 [MayThrowException] DOMString mainThreadScrollingReasons(); // FIXME: rename to synchronousScrollingReasons(). 276 [MayThrowException] ClientRectList?nonFastScrollableRects();276 [MayThrowException] sequence<DOMRect> nonFastScrollableRects(); 277 277 278 278 [MayThrowException] DOMString repaintRectsAsText(); … … 433 433 boolean isPluginSnapshotted(Element element); 434 434 435 [MayThrowException] ClientRect selectionBounds();435 [MayThrowException] DOMRect selectionBounds(); 436 436 437 437 [Conditional=MEDIA_SOURCE] void initializeMockMediaSource();
Note: See TracChangeset
for help on using the changeset viewer.