Implement new TextMetrics, returned by canvas measureText()
[WebKit-https.git] / LayoutTests / ChangeLog
index a9261b58728b241b747a23833b3449c54865b286..a6e91b07490841187f63e7d7328d9d7323b87da1 100644 (file)
@@ -1,3 +1,24 @@
+2017-07-26  Arnaud Renevier  <a.renevier@sisa.samsung.com> and Fujii Hironori  <Hironori.Fujii@sony.com>
+
+        Implement new TextMetrics, returned by canvas measureText()
+        https://bugs.webkit.org/show_bug.cgi?id=82798
+
+        Reviewed by Dean Jackson.
+
+        Create a test that checks that:
+             - ascent + descent is greater than zero
+             - actualBoundingBoxLeft + actualBoundingBoxRight is somewhere
+               quite close to width
+             - when baseline is top, emHeightAscent is 0 (respectively
+               bottom/emHeightDescent)
+             - when baseline is hanging, hangingBaseline in 0 (respectively
+               alphabetic and ideographic)
+             - order of different vertical measures (for example,
+               emHeightAscent is always higher that alphabeticBaseline)
+
+        * fast/canvas/canvas-measureText-2-expected.txt: Added.
+        * fast/canvas/canvas-measureText-2.html: Added.
+
 2017-07-26  Matt Lewis  <jlewis3@apple.com>
 
         Marked Multiple imported/w3c/web-platform-tests/ as failing.