Hierarchical Document Rule Inspector for CSS Editing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing tools for developing hierarchical documents, such as Web pages, do not effectively inform developers about all applicable CSS rules during the editing process, making it difficult to determine how a piece of content will be affected in the final version due to complex syntax and lack of comprehensive rule inspection.

Innovation Solution

A system and method that identifies and displays relevant code or rules applicable to selected elements in a hierarchical document, searching through a data structure to show applicable CSS rules and their properties, ordered by priority and parenthood, with visual markers indicating applicability, allowing developers to easily determine which rules affect the content.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If existing CSS editors and rule inspectors are used to view CSS rules, then developers can see directly applied rules, but the complexity of CSS syntax and lack of comprehensive rule inspection makes it difficult to understand all applicable rules

Engineering Contradiction:
Improvecomprehensive rule informationVSAvoidCSS syntax complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent segments CSS rule information into hierarchical categories: directly applied rules, inherited rules from parent elements, and rules from ancestor elements. This segmentation organizes the complex CSS syntax into manageable sections, allowing developers to systematically understand all applicable rules without being overwhelmed by the overall complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary inspection system that automatically analyzes and translates complex CSS syntax into comprehensible rule applications. This intermediary tool bridges the gap between the complex CSS language and developer understanding, presenting rules in a structured format that shows inheritance relationships and applicability without requiring deep CSS expertise.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If developers manually inspect CSS rules for each element, then they can understand rule applicability, but this process is time-consuming and inefficient

Engineering Contradiction:
Improverule inspection easeVSAvoidediting time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent performs preliminary analysis of CSS rule inheritance relationships before the developer needs to inspect them. The system pre-processes the stylesheet and element hierarchy to identify all applicable rules, inheritance paths, and cascade priorities, so that when a developer selects an element, the comprehensive rule information is immediately available without manual inspection or time-consuming analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements an interactive feedback mechanism where the rule inspector provides immediate visual feedback about CSS rule applicability when developers select elements. The system continuously monitors element selections and automatically updates the displayed rule information, inheritance relationships, and cascade priorities, eliminating the need for manual re-inspection and significantly reducing editing time.

Inventive Principle:
Principle #23Feedback

3Loss of information

If comprehensive CSS rule inspection is implemented, then developers can understand all applicable rules, but existing tools only show directly applied rules or computed values, not all relevant information

Engineering Contradiction:
Improvecomplete rule informationVSAvoidtool functionality
Core Design Contradiction:
Loss of informationVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal rule inspection tool that combines multiple functions into a single comprehensive system. It simultaneously displays directly applied rules, inherited rules from parent elements, ancestor element rules, cascade priority information, and computed values. This multi-functional inspector adapts to various development needs without requiring separate tools, providing complete rule information while maintaining versatility across different inspection scenarios.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS7769773B1Relevant rule inspector for hierarchical documents
Publication Date: 2010.08.03 ADOBE INC
  • US7769773B1 patent drawing
  • US7769773B1 patent drawing
  • US7769773B1 patent drawing

AI summary

A development environment is described that includes identifying relevant code or rules applicable to various elements of a hierarchical document and displaying the relevant code or rules to a user within a display interface of the development environment. The system recognizes document elements highlighted by a user and searches through a data structure of the code or rules applied to the hierarchical document for code or rules that expressly reference the element selected by the user. The system then searches the data structure of the code or rules applied to the parent elements of the selected element. The discovered code or rules are then displayed to the user in the development environment along with any properties that are associated with the code or rules. The development system determines which of the properties do not apply to the selected element and render a marker indicating the non-applicability of that property.