From 313efcf9420cea344ce459b41bf6405b5bdfeb09 Mon Sep 17 00:00:00 2001 From: "martijn.martijn%gmail.com" Date: Mon, 23 Jul 2007 22:02:57 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20386470=20=C2=96=20=20should=20stop,=20r=3Dpeterv,=20sr=3Dbzbarsky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@230673 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/style/contenteditable.css | 9 +++++ .../layout/style/xbl-marquee/xbl-marquee.xml | 34 +++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/mozilla/layout/style/contenteditable.css b/mozilla/layout/style/contenteditable.css index 1447c26255e..f29efab8bcb 100644 --- a/mozilla/layout/style/contenteditable.css +++ b/mozilla/layout/style/contenteditable.css @@ -113,6 +113,15 @@ isindex:-moz-read-write[prompt] -moz-user-focus: none !important; } +/* emulation of non-standard HTML tag */ +marquee:-moz-read-write { + -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal-editable'); +} + +marquee[direction="up"]:-moz-read-write, marquee[direction="down"]:-moz-read-write { + -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical-editable'); +} + :-moz-read-write > input[type="hidden"], input[contenteditable="true"][type="hidden"] { border: 1px solid black !important; diff --git a/mozilla/layout/style/xbl-marquee/xbl-marquee.xml b/mozilla/layout/style/xbl-marquee/xbl-marquee.xml index 22cbb4f6441..bf4f0a545d0 100644 --- a/mozilla/layout/style/xbl-marquee/xbl-marquee.xml +++ b/mozilla/layout/style/xbl-marquee/xbl-marquee.xml @@ -523,6 +523,9 @@ + + + + + + + + + + + + + + + + + + + +