Fix DOMTest failure related to device scaling

This commit is contained in:
Marshall Greenblatt
2022-08-11 14:20:23 -04:00
parent 8908465546
commit f8d10289b5
3 changed files with 41 additions and 10 deletions

View File

@ -323,7 +323,8 @@ class CefDOMNode : public virtual CefBaseRefCounted {
virtual CefString GetElementInnerText() = 0;
///
// Returns the bounds of the element.
// Returns the bounds of the element in device pixels. Use
// "window.devicePixelRatio" to convert to/from CSS pixels.
///
/*--cef()--*/
virtual CefRect GetElementBounds() = 0;