From 36ac7f4ffb7f1950263500150e8ab8a7b7e1bfb0 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=EF=BF=BD=20=20should=20stop,=20r=3Dpeterv,=20sr=3Dbzbarsky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/style/contenteditable.css | 9 +++++++ layout/style/xbl-marquee/xbl-marquee.xml | 34 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/layout/style/contenteditable.css b/layout/style/contenteditable.css index 1447c26255e..f29efab8bcb 100644 --- a/layout/style/contenteditable.css +++ b/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/layout/style/xbl-marquee/xbl-marquee.xml b/layout/style/xbl-marquee/xbl-marquee.xml index 22cbb4f6441..bf4f0a545d0 100644 --- a/layout/style/xbl-marquee/xbl-marquee.xml +++ b/layout/style/xbl-marquee/xbl-marquee.xml @@ -523,6 +523,9 @@ + + + + + + + + + + + + + + + + + + + +