diff --git a/extensions/editor/cascades/build/install.js b/extensions/editor/cascades/build/install.js index 4bf32e1153d..40a5684ccf1 100644 --- a/extensions/editor/cascades/build/install.js +++ b/extensions/editor/cascades/build/install.js @@ -1,6 +1,6 @@ -var gVersion = "0.1.7"; +var gVersion = "0.2.1"; var err = initInstall("CaScadeS", "cascades", gVersion); logComment("initInstall: " + err); diff --git a/extensions/editor/cascades/readme.html b/extensions/editor/cascades/readme.html index d5b2a94c61f..a5797a66d59 100644 --- a/extensions/editor/cascades/readme.html +++ b/extensions/editor/cascades/readme.html @@ -2,104 +2,137 @@ CaScadeS readme - + - + - - + +

CaScadeS, a stylesheet editor for Composer

- -
+ +

CaScades build instructions

+
Unix/Window:
-
+ +
    -
  1. use the build configurator to declare you want to build CaScadeS :
  2. - +
  3. use the build configurator to declare you want to build CaScadeS +:
  4. +
      -
    1. open http://webtools.mozilla.org/build/config.cgi
    2. -
    3. scroll to "Components and Features" section and find the "--enable-extensions=" -editable field.
    4. -
    5. add editor/cascades (editor-slash-cascades, no spaces) to that field
    6. -
    7. make all other choices you need for your build
      -
    8. -
    9. scroll to the bottom of the page
    10. -
    11. Click on the "Preview Build Script" button
    12. -
    13. Click on the "Save the script" button (on Windows, save the file -for instance in c:\mozconfig and set the environment variable MOZCONFIG to -that oath) 
    14. - +
    15. open http://webtools.mozilla.org/build/config.cgi
    16. +
    17. scroll to "Components and Features" section and find the "--enable-extensions=" + editable field.
    18. +
    19. add editor/cascades (editor-slash-cascades, no spaces) to that +field
    20. +
    21. make all other choices you need for your build
      +
    22. +
    23. scroll to the bottom of the page
    24. +
    25. Click on the "Preview Build Script" button
    26. +
    27. Click on the "Save the script" button (on Windows, save the file + for instance in c:\mozconfig and set the environment variable MOZCONFIG +to that oath) 
    28. +
    -
  5. go to the directory containing your mozilla/ tree
  6. -
  7. type:
  8. - +
  9. go to the directory containing your mozilla/ tree
  10. +
  11. type:
  12. +
      -
    1. cvs co mozilla/client.mk
    2. -
    3. cvs co mozilla/client.mk
    4. +
    5. cd mozilla
    6. -
    7. gmake -f client.mk  (make instead of gmake on win32) 
    8. - +
    - +
+
Macintosh:
-

Add an entry for cascades -in function ProcessJarManifests() -in file mozilla/build/mac/build_sripts/MozillaBuildList.pm + +

Add an entry for cascades +in function ProcessJarManifests() +in file mozilla/build/mac/build_sripts/MozillaBuildList.pm and don't forget to add an entry 1 for cascades in mozilla/build/mac/build_sripts/MozillaBuildFlags.txt.
-

+

+
- +

What's the current version ?

- -

The current version is 0.2.
-

- + +

The current version is 0.2.1

+ + + + + + + + + + + + + +
Version
+
Date
+
What's new in this version ?
+
0.2.1
+
2002-sept-13
+
adds support for line-height, fixes a blocking bug +in length units menulists, fixes a bug in Border Tab when trying to unspecify +the border style and all four side borders have the same styles
+
+

.
+

+

How can I install CaScadeS without building it ?

- +

Just go there and -install the XPI.
-

- + href="http://daniel.glazman.free.fr/composer/cascades02.htm">there and + install the XPI.
+

+

How can I start CaScadeS ?

- -

CaScadeS is not a standalone app, it is an add-on to Composer, the content -editor in the Mozilla distribution. Just launch Composer and find CaScadeS -under Tools>CSS Editor.
-

- + +

CaScadeS is not a standalone app, it is an add-on to Composer, the content + editor in the Mozilla distribution. Just launch Composer and find CaScadeS + under Tools>CSS Editor.
+

+

How can I submit feedback ?

- +

Depends on the feedback :
-

- +

+
    -
  1. you found a bug, or would like to see implemented a new feature ? -File a bug in Bugzilla, product +
  2. you found a bug, or would like to see implemented a new feature ? +File a bug in Bugzilla, product Browser, component Editor:Composer, severity enhancement.
  3. -
  4. you need help or have a technical question ? Prefer the CaScadeS mailing-list or -drop a mail to daniel@glazman.org.
  5. - +
  6. you need help or have a technical question ? Prefer the CaScadeS mailing-list or + drop a mail to daniel@glazman.org.
  7. +
-

Where can I see a demo of CaScadeS ?

-

Here.

-
-
Daniel Glazman
- $Date: 2002-09-09 12:47:51 $
+

Where can I see a demo of CaScadeS ?

+ +

Here.

+ +
+
Daniel Glazman
+ $Date: 2002-09-13 13:47:42 $
+
diff --git a/extensions/editor/cascades/resources/content/commonCssProps.js b/extensions/editor/cascades/resources/content/commonCssProps.js index 03933055000..c5f06c817da 100644 --- a/extensions/editor/cascades/resources/content/commonCssProps.js +++ b/extensions/editor/cascades/resources/content/commonCssProps.js @@ -979,7 +979,6 @@ function IfFourSidesSameStyle(propertyBase, propertySuffix, value, checkboxID, p if (elt) { value = elt.value; } - else return; } var xulElt = document.getElementById(previewID); var sideArray = [ "left", "right", "bottom" ]; @@ -1001,8 +1000,8 @@ function ToggleFourBorderSidesSameStyle(elt) var sideArray = [ "left", "right", "bottom" ]; var style = getSpecifiedStyle("border-top-style"); - if (!style || style == "") - style = "unspecified"; + /*if (!style || style == "") + style = "unspecified";*/ var color = gDialog.topBorderColorInput.value; var width = getSpecifiedStyle("border-top-width"); @@ -1058,7 +1057,7 @@ function EnableUI(elt, enabled) // the current value of the property and if it is already a length, // build the menu keeping the same numeric part and browsing all the // possible units. -function InitLengthUnitMenuPopup(elt, property, id) +function InitLengthUnitMenuPopup(elt, property, id, allowsPercentages) { var value = elt.parentNode.value; var re = /([+-]?\d*\.\d+|[+-]?\d+)\D*/ ; @@ -1075,28 +1074,15 @@ function InitLengthUnitMenuPopup(elt, property, id) } // below is an array of all valid CSS length units - var unitsArray = [ "px", "%", "pt", "cm", "in", "mm", "pc", "em", "ex" ]; - var j, newitem; - for (j=0; j - - + + + + + + + + + @@ -457,9 +482,10 @@ oninput="ChangeValueOnInput(this, 'border-top-width', 'borderPreview'); IfFourSidesSameStyle('border', 'width', null, 'allFourBordersSame', 'borderPreview', this);"> - + @@ -523,7 +549,7 @@ style="width: 8em" id="leftBorderWidthInput" oninput="ChangeValueOnInput(this, 'border-left-width', 'borderPreview');"> - + @@ -587,7 +613,7 @@ style="width: 8em" id="rightBorderWidthInput" oninput="ChangeValueOnInput(this, 'border-right-width', 'borderPreview');"> - + @@ -651,7 +677,7 @@ style="width: 8em" id="bottomBorderWidthInput" oninput="ChangeValueOnInput(this, 'border-bottom-width', 'borderPreview');"> - + @@ -877,18 +903,23 @@ - + + + + + +