Sets or retrieves the weight, or importance, of a style rule when a conflict occurs.
HRESULT value = object.put_renderingPriority(long v);HRESULT value = object.get_renderingPriority(long* p);
Pointer to a variable of type long that receives the rendering priority of the object.
Properties with higher priority override properties with lower priority. The default value is 0, and the higher the number, the higher the priority. The rendering priority has a limit of 9. If a rendering style object in a set of rendering style objects has a priority greater than 9, the priorities of all objects in the set are ignored. The rendering style object which was first applied to a segment will determine the rendering style of the segment.
If two properties of the IHTMLRenderStyle interface are applied to the same text selection, the property with higher rendering priority overrides the property with lower rendering priority. If you allow two properties of the IHTMLRenderStyle interface to have the same rendering priority, the browser will not be able to determine which property will override the other.