The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

expanding difficult rules

Forums » Dev.Opera » Opera Dragonfly Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

22. September 2011, 08:44:48

SailorMax

Posts: 520

expanding difficult rules

Can you add option do not expand difficult rules in "Styles"-tab and "DOM"-tab?
In my experience expanding is very not convenient when "simple" rule:
~~~~~~~
border: 1px solid red;
~~~~~~~

expanded into:
~~~~~~~
border-bottom-color: rgb(255, 0, 0);
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(255, 0, 0);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(255, 0, 0);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(255, 0, 0);
border-top-style: solid;
border-top-width: 1px;
~~~~~~~

22. September 2011, 09:24:52

Opera Software

hzr

Posts: 205

This is being worked on as we speak. smile
Opera Dragonfly developer / @hzr / Popup statusbar extension / CSSFrag extension

22. September 2011, 22:49:10

spadija

Posts: 1643

Better yet, it would be awesome if the style window acted like a tree view, so shortcut rules would show up like "border: 1px solid red" but could be expanded to show the list of individual rules.

26. September 2011, 12:53:37

SailorMax

Posts: 520

Originally posted by hzr:

This is being worked on as we speak.



26.09.2011, Version 1.2011.09.22.1: Don't work at me or I can't find this setting smile
How I test:
1. right click on any link / Inspect Element / Styles / New Style
2. enter: "a {border:1px solid red};" + Apply
3. scroll up "Styles"

result:
border-bottom-color: rgb(255, 0, 0);
border-bottom-style: solid;
border-bottom-width: 1px;
border-left-color: rgb(255, 0, 0);
border-left-style: solid;
border-left-width: 1px;
border-right-color: rgb(255, 0, 0);
border-right-style: solid;
border-right-width: 1px;
border-top-color: rgb(255, 0, 0);
border-top-style: solid;
border-top-width: 1px;

26. September 2011, 12:54:45

SailorMax

Posts: 520

Sorry, Looks like problem in "1.2011.09.22.1"... smile

26. September 2011, 13:28:12

Opera Software

hzr

Posts: 205

Right, the feature is not implemented yet as mentioned. I'm working on it currently.
Opera Dragonfly developer / @hzr / Popup statusbar extension / CSSFrag extension

Forums » Dev.Opera » Opera Dragonfly Discussions