diff --git a/xpfe/browser/resources/content/navWidgetBindings.xml b/xpfe/browser/resources/content/navWidgetBindings.xml new file mode 100644 index 000000000000..2fd55ce4fb73 --- /dev/null +++ b/xpfe/browser/resources/content/navWidgetBindings.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xpfe/browser/resources/content/navWidgets.css b/xpfe/browser/resources/content/navWidgets.css new file mode 100644 index 000000000000..8752201a1565 --- /dev/null +++ b/xpfe/browser/resources/content/navWidgets.css @@ -0,0 +1,25 @@ + + +box[type="location-field"] + { + -moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#urlbar"); + } + +menulist[editable="true"] + { + -moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#menulist-editable"); + } + +.location-field + { + -moz-binding : url("chrome://navigator/content/navWidgetBindings.xml#urlbar-menulist"); + -moz-user-focus : ignore; + } + +/* XXX factor me */ +.textfield-input + { + -moz-user-focus : normal; + } + + \ No newline at end of file