Bug 542605. Add a test for a clipping problem shown by the cairo update.
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 16 Apr 2010 10:48:42 -0400
changeset 40926 1ae178ed2e2006ba065a2c0e803ec168b924f403
parent 40925 9504a5fc837ae67ae577870580375d4d1d0eac71
child 40927 3e10611826dced12287801aa02fc1a79db0d2908
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs542605
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 542605. Add a test for a clipping problem shown by the cairo update.
layout/reftests/bugs/542605-hidden-unscrollable-ref.xul
layout/reftests/bugs/542605-hidden-unscrollable.xul
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/542605-hidden-unscrollable-ref.xul
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<somenode xmlns:html="http://www.w3.org/1999/xhtml" 
+	style="overflow: -moz-hidden-unscrollable;"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+	<html:input  value="lime"/>
+        <button  label="Credits" accesskey="C"/>
+</somenode>
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/542605-hidden-unscrollable.xul
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<somenode xmlns:html="http://www.w3.org/1999/xhtml" 
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+	<html:input  value="lime"/>
+	<!--
+	a clipping problem in the cairo-win32 show-glyphs
+	implementation was causing the text on the button
+	to be clipped out. The clip was null and we weren't
+	reseting the clip causing us to use the clip of the
+	input element. Not using -moz-hidden-unscrollable
+	causes this problem to show up for reasons unknown.
+	-->
+        <button  label="Credits" accesskey="C"/>
+</somenode>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1407,16 +1407,17 @@ fails HTTP(..) == 518172-2b.html 518172-
 == 538909-1.html 538909-1-ref.html
 == 538935-1.html 538935-1-ref.html
 == 539226-1.html about:blank
 == 539323-1.html 539323-1-ref.html
 == 539323-2.html 539323-2-ref.html
 == 539323-3.html 539323-3-ref.html
 == 541382-1.html 541382-1-ref.html
 random-if(!haveTestPlugin) == 541406-1.html 541406-1-ref.html
+== 542605-hidden-unscrollable.xul 542605-hidden-unscrollable-ref.xul
 == 542620-1.html 542620-1-ref.html
 == 545049-1.html 545049-1-ref.html
 == 546033-1.html 546033-1-ref.html
 random-if(!haveTestPlugin) == 546071-1.html 546071-1-ref.html
 == 549184-1.html 549184-1-ref.html
 == 550716-1.html 550716-1-ref.html
 == 551463-1.html 551463-1-ref.html
 == 551699-1.html 551699-1-ref.html